File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 4848 "sphinx.ext.todo" ,
4949 "sphinx_copybutton" ,
5050 "sphinx_inline_tabs" ,
51+ "sphinx_sitemap" ,
5152 "sphinxcontrib.rsvgconverter" ,
5253 "sphinxext.opengraph" ,
5354]
@@ -171,3 +172,13 @@ def setup(app):
171172# -- graphviz configuration --------------------------------------------------
172173
173174graphviz_output_format = "svg"
175+
176+ # -- sitemap configuration ---------------------------------------------------
177+
178+ sitemap_url_scheme = "{link}"
179+ sitemap_excludes = [
180+ "404.html" ,
181+ "search.html" ,
182+ "genindex.html" ,
183+ ]
184+ sitemap_show_lastmod = True
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ docs = [
2525 " sphinx-inline-tabs" ,
2626 " sphinx-lint" ,
2727 " sphinx-notfound-page" ,
28+ " sphinx-sitemap" ,
2829 " sphinx_copybutton" ,
2930 " sphinxcontrib-svg2pdfconverter" ,
3031 " sphinxext.opengraph" , # matplotlib is required for social cards
You can’t perform that action at this time.
0 commit comments