-
Notifications
You must be signed in to change notification settings - Fork 109
Description
I was thinking about a policy to prevent breakages and initially came up with the following text:
In a released version the anchors should never be removed. This is needed because applications like Foreman may refer to it and users may have bookmarked them.
In downstream Red Hat has the multi-HTML view where it may lead to 404s errors because of URL changes. That may also affect SEO because AFAIK we don't create redirects.
The background is that Foreman itself can link to documentation. It has various helpers for this. Today many of these still point to the existing Foreman manual, but I'd still love to migrate to docs.theforeman.org (https://github.com/theforeman/foreman-documentation/milestone/3).
If the application links to some section, it usually does so via an anchor. Changing those will break the application for users.
For Satellite we also have foreman_theme_satellite which rewrites them. These already refer to more anchors and there is some automation to check links against the table of contents.
In case a rename must happen (and experience tells me, there usually is something) then we can use auxiliary IDs. This is also supported by the DITA migration (jhradilek/asciidoctor-dita-vale#155).