summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index dc24ba85..7f302ceb 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -48,7 +48,9 @@ extensions = ['sphinx.ext.intersphinx',
'autosectionlabel',
'myst_parser',
'sphinx_design',
- 'vyos'
+ 'vyos',
+ 'sphinx_llms_txt',
+ 'sphinx_sitemap',
]
# Add any paths that contain templates here, relative to this directory.
@@ -111,6 +113,15 @@ html_static_path = ['_static']
html_extra_path = ['_html_extra']
+html_baseurl = 'https://docs.vyos.io/en/latest/'
+
+# sphinx-sitemap: baseurl already includes /en/latest/, so skip lang+version
+sitemap_url_scheme = '{link}'
+
+# sphinx-llms-txt: disable auto-generated llms.txt, keep curated one from
+# _html_extra; llms-full.txt is still auto-generated
+llms_txt_file = False
+
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#