-
Notifications
You must be signed in to change notification settings - Fork 89
Description
WHAT Needs to be Documented?
Based on a discussion with @movavelinux (Antora) at https://antora.zulipchat.com, we use depreciated family resource identifiers. This should be fixed, the proper family identifyer can be found at: https://docs.antora.org/antora/2.3/page/resource-id/#id-coordinates
{partialsdir}
--> partial$
{examplesdir}
--> example$
Note that {attachmentsdir}
has to be kept for the time being.
From @mojavelinux
attribute references for the family directory in the resource ID are deprecated and will be removed in Antora 4 (maybe even Antora 3).
the problem with that approach is that it was tied to the file structure and it was limited to references in the same module.
with the new syntax, you can refer to a partial, example, page, or attachment located anywhere.
(the attachment fix won't be available until Antora 3.0.0-alpha.10, so if you're still using 2.3, then you still have to use {attachmentsdir}.
{modulesdir}/pages/_partials/nav.adoc
We also have to rename the _partials
directory and relocate it:
This is also the wrong directory for partials. The partials should now be located in {modulesdir}/partials
https://docs.antora.org/antora/2.3/family-directories/
WHERE Does This Need To Be Documented (Link)?
We have to do a search and replace in all modules, in all repos. A PR will be created there too and referenced.
WHY Should This Change Be Made?
Depreciated/legacy family identifyers will most likely get removed with Antora 3
(Optional) What Type Of Content Change Is This?
- New Content Addition
- Old Content Deprecation
- Existing Content Simplification
- Bug Fix to Existing Content
(Optional) Which Manual Does This Relate To?
- Admin Manual
- Developer Manual
- User Manual
- Other
@EParzefall fyi