theforeman / foreman-documentation

Documentation for the Foreman Project and its ecosystem
https://docs.theforeman.org
Creative Commons Attribution Share Alike 4.0 International
21 stars 95 forks source link

Linking to RHEL docs: all doc versions, or perhaps just the latest? #3448

Open asteflova opened 2 days ago

asteflova commented 2 days ago

When referencing RHEL documentation, we list all the relevant RHEL versions. For example:

For more information, see [Using and configuring firewalld](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_firewalls_and_packet_filters/using-and-configuring-firewalld_firewall-packet-filters) in Red Hat Enterprise Linux 9 Configuring firewalls and packet filters
or
[Using and configuring firewalld](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/configuring_and_managing_networking/index#using-and-configuring-firewalld_configuring-and-managing-networking) in Red Hat Enterprise Linux 8 Configuring and managing networking.

For information about containers for Red Hat Enterprise Linux 8, see Red Hat Enterprise Linux 8 Building, running, and managing containers.

For information about containers for Red Hat Enterprise Linux 9, see Red Hat Enterprise Linux 9 Building, running, and managing containers.


* (Satellite only): https://docs.theforeman.org/nightly/Managing_Hosts/index-satellite.html#Managing_and_Monitoring_Hosts_Using_Cockpit_managing-hosts

For more information about using the RHEL web console, see the following documents:

[Managing systems using the RHEL 9 web console](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_systems_using_the_rhel_9_web_console/index)

[Managing systems using the RHEL 8 web console](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_systems_using_the_rhel_8_web_console/index)

[Managing systems using the RHEL 7 web console](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/managing_systems_using_the_rhel_7_web_console/index)


This convention becomes difficult to maintain because RHEL docs get restructured which breaks the links. Getting links to all versions up-to-date again is tedious, not to mention temporary (because we've seen the links break again on a few occasions).

It makes me wonder whether the benefit for users is even significant enough to outweigh the cost of maintaining these links. **Would it perhaps be enough to link only to the docs for the latest supported RHEL version instead?**
maximiliankolb commented 2 days ago

Conclusion: Latest greatest only, unless we have specific reasons/requests.

ekohl commented 2 days ago

This convention becomes difficult to maintain because RHEL docs get restructured which breaks the links. Getting links to all versions up-to-date again is tedious, not to mention temporary (because we've seen the links break again on a few occasions).

IMHO this is a Red Hat documentation issue. Links should be permanent and if they change, the old links should redirect. Arguably, anchors could change but the examples you provided don't have anchors.