Skip to content

Commit 4a8018d

Browse files
committed
Add site map
Adding site map xml mainly for google search console
1 parent 93168b5 commit 4a8018d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/source/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@
146146
# Configure Sphinx to include the books directory
147147
exclude_patterns = [] # Reset exclude_patterns to ensure books are included
148148

149+
150+
sitemap_locales = [None]
151+
sitemap_excludes = [
152+
"search.html",
153+
"genindex.html",
154+
]
155+
sitemap_url_scheme = "{link}"
156+
157+
149158
html_extra_path = ["../../target/doc"]
150159
html_static_path = ["_static"]
151160

0 commit comments

Comments
 (0)