summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-04 11:15:36 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-04 11:15:36 +0300
commitbfef17c8c31e217c57d028de86222b297a364da0 (patch)
tree88793d00ce4c9c83dde92f7096dd6b2db5008244 /docs
parentab5bcd24bb8c3e311e31c09980c8defefb3c8e74 (diff)
downloadvyos-documentation-bfef17c8c31e217c57d028de86222b297a364da0.tar.gz
vyos-documentation-bfef17c8c31e217c57d028de86222b297a364da0.zip
docs: use canonical /en/1.4/ baseurl instead of /en/sagitta/ alias
RTD redirects /en/sagitta/* to /en/1.4/*. Pointing html_baseurl at the canonical slug makes <link rel="canonical"> and the sitemap match the URL RTD actually serves, so crawlers skip the redirect hop. /en/sagitta/ still works as an alias. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 9bfdd4d9..dff64f63 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -100,9 +100,9 @@ todo_include_todos = True
#
html_theme = "sphinx_rtd_theme"
-html_baseurl = 'https://docs.vyos.io/en/sagitta/'
+html_baseurl = 'https://docs.vyos.io/en/1.4/'
-# sphinx-sitemap: baseurl already includes /en/sagitta/, so skip lang+version
+# sphinx-sitemap: baseurl already includes /en/1.4/, so skip lang+version
sitemap_url_scheme = '{link}'
# sphinx-llms-txt: disable auto-generated llms.txt, keep curated render via setup