Skip to content

Commit 42ac39d

Browse files
committed
generate sitemap.xml
1 parent a1ffbd4 commit 42ac39d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Sphinx~=5.0
1+
Sphinx ~= 5.0
2+
sphinx-sitemap ~= 2.5

source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2727
# ones.
2828
extensions = [
29-
'sphinx.ext.todo',
29+
'sphinx_sitemap',
3030
]
3131

3232
# Add any paths that contain templates here, relative to this directory.
@@ -204,6 +204,9 @@
204204
# Output file base name for HTML help builder.
205205
htmlhelp_basename = 'GehirnWebServicesAPIdoc'
206206

207+
sitemap_url_scheme = "{link}"
208+
sitemap_locales = [None]
209+
207210
# -- Options for LaTeX output ---------------------------------------------
208211

209212
latex_elements = {

0 commit comments

Comments
 (0)