Skip to content

Comments

add vocabularies documentation#2056

Merged
MrTango merged 3 commits intoplone:6.0from
MrTango:patch_vocabularies
Feb 18, 2026
Merged

add vocabularies documentation#2056
MrTango merged 3 commits intoplone:6.0from
MrTango:patch_vocabularies

Conversation

@MrTango
Copy link
Contributor

@MrTango MrTango commented Feb 13, 2026

The vocabulary docs are generated from Plone 5 docs, but updated for Plone 6 and Dexterity.


📚 Documentation preview 📚: https://plone6--2056.org.readthedocs.build/

Updated the vocabulary documentation to clarify usage and examples.
@github-project-automation github-project-automation bot moved this from New to Approved in Plone Documentation Feb 16, 2026
@MrTango MrTango merged commit bfb24b1 into plone:6.0 Feb 18, 2026
2 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Plone Documentation Feb 18, 2026
@MrTango MrTango deleted the patch_vocabularies branch February 18, 2026 13:33
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! I'll make a few comments...

### Installation

```bash
UV tool install plonecli
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lowercase uv (also I usually use uvx instead of permanently installing a tool...but I guess that is a matter of preference)

First, create a new Plone add-on:

```bash
plonecli create addon src/collective.myaddon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is failing for me:

Traceback (most recent call last):
  File "/Users/davisagli/.local/bin/plonecli", line 4, in <module>
    from plonecli.cli import cli
  File "/Users/davisagli/.local/share/uv/tools/plonecli/lib/python3.14/site-packages/plonecli/__init__.py", line 4, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'


## REST API Access

Vocabularies are accessible via the Plone REST API at the `@vocabularies` endpoint.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could link to https://6.docs.plone.org/plone.restapi/docs/source/endpoints/vocabularies.html instead of repeating the same information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants