Skip to content

Commit 8a51e62

Browse files
committed
Fix broken links from recent Classic UI and Backend documentation
1 parent bcd0667 commit 8a51e62

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

docs/backend/vocabularies.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -663,17 +663,12 @@ The response includes the `token` and `title` for each term:
663663
7. **Document your vocabularies** with docstrings explaining what they contain and when to use them.
664664

665665

666-
## See Also
667-
668-
- {ref}`fields-label` for field types that use vocabularies
669-
- {doc}`../forms/index` for form handling
670-
- [zope.schema documentation](https://zopeschema.readthedocs.io/)
671-
- [plone.app.vocabularies source code](https://github.com/plone/plone.app.vocabularies)
672-
- [bobtemplates.plone documentation](https://bobtemplatesplone.readthedocs.io/)
673-
674-
675666
## Related content
676667

677-
- {doc}`/backend/fields`
668+
- {doc}`/backend/fields` for field types that use vocabularies
669+
- {doc}`classic-ui/forms` for form handling
670+
- [`zope.schema documentation`](https://zopeschema.readthedocs.io/)
671+
- [`plone.app.vocabularies` source code](https://github.com/plone/plone.app.vocabularies)
672+
- [`bobtemplates.plone` documentation](https://bobtemplatesplone.readthedocs.io/)
678673
- {doc}`/backend/schemas`
679674
- {doc}`/backend/content-types/index`

docs/classic-ui/views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ However, in most cases:
717717
You get the HTML output with `self.index()`.
718718
The page template gets a context argument `view`, pointing to the view class instance.
719719
The `index` value is usually an instance of [`Products.Five.browser.pagetemplate.ViewPageTemplateFile`](https://github.com/zopefoundation/Zope/blob/d1814d0a6bddb615629b552de10e9aa5ad30a6da/src/Products/Five/browser/pagetemplatefile.py#L35) for full Plone pages or [`zope.pagetemplate.pagetemplatefile.PageTemplateFile`](https://github.com/zopefoundation/zope.pagetemplate/blob/14ba59c98e12517b9f8abcdb24bc882bb435ed7c/src/zope/pagetemplate/pagetemplatefile.py#L43) for HTML snippets without using acquisition.
720-
- View classes should implement the {doc}`interface </backend/interfaces>`
720+
- View classes should implement the {ref}`interface <classic-ui-register-and-unregister-a-view-directly-using-zope.component-architecture-label>`
721721
[`zope.browser.interfaces.IBrowserView`](https://github.com/zopefoundation/zope.browser/blob/1239c75e4e190df992bf34a88b4ead2c952afe86/src/zope/browser/interfaces.py#L27).
722722
723723
Views that render page snippets and parts can be direct subclasses of `zope.publisher.browser.BrowserView`, as snippets might not need acquisition support which adds some overhead to the rendering process.

0 commit comments

Comments
 (0)