chore(admin): add canonical link to stable branch

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh
2025-09-10 10:45:22 -04:00
parent d460abe7f3
commit 4def5a71b4

View File

@@ -56,6 +56,12 @@ html_short_title = "Server Admin Manual"
# disable "Created using Sphinx" in the HTML footer (default is True)
html_show_sphinx = False
# Add canonical link in all generated pages linking to their respective equivalent
# in `stable` (regardless of which version of the docs someone lands in).
# Note, there is an argument to be made for having this link to `latest` instead,
# but this is likely good enough and the most conservative for now.
html_baseurl = "https://docs.nextcloud.com/server/stable/admin_manual/"
# -- Options for HTML help output --------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-help-output