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 5050 "sphinx.ext.todo" ,
5151 "sphinx_copybutton" ,
5252 "sphinx_inline_tabs" ,
53+ "sphinx_sitemap" ,
5354 "sphinxcontrib.cairosvgconverter" ,
5455 "sphinxext.opengraph" ,
5556]
@@ -203,3 +204,13 @@ def setup(app):
203204# -- graphviz configuration --------------------------------------------------
204205
205206graphviz_output_format = "svg"
207+
208+ # -- sitemap configuration ---------------------------------------------------
209+
210+ sitemap_url_scheme = "{link}"
211+ sitemap_excludes = [
212+ "404.html" ,
213+ "search.html" ,
214+ "genindex.html" ,
215+ ]
216+ 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"
You can’t perform that action at this time.
0 commit comments