From 610f02ff44cdba43a03ee61662a25c13cb767566 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 10 Sep 2025 10:49:40 -0400 Subject: [PATCH] chore(developer): add canonical link to `stable` branch Add canonical link to stable version of developer manual Signed-off-by: Josh --- developer_manual/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/developer_manual/conf.py b/developer_manual/conf.py index 3ad871a30..2fd09d257 100644 --- a/developer_manual/conf.py +++ b/developer_manual/conf.py @@ -63,6 +63,12 @@ html_short_title = "Developer 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/developer_manual/" + html_last_updated_fmt = "%b %d, %Y" # -- Options for HTML help output --------------------------------------------