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 5858 "sphinx.ext.todo" ,
5959 "sphinx_copybutton" ,
6060 "sphinx_inline_tabs" ,
61+ "sphinx_sitemap" ,
6162 "sphinxcontrib.cairosvgconverter" ,
6263 "sphinxext.opengraph" ,
6364]
@@ -252,3 +253,13 @@ def setup(app):
252253# -- graphviz configuration --------------------------------------------------
253254
254255graphviz_output_format = "svg"
256+
257+ # -- sitemap configuration ---------------------------------------------------
258+
259+ sitemap_url_scheme = "{link}"
260+ sitemap_excludes = [
261+ "404.html" ,
262+ "search.html" ,
263+ "genindex.html" ,
264+ ]
265+ sitemap_show_lastmod = True
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ docs = [
3030 " sphinx-copybutton" ,
3131 " sphinx-lint" ,
3232 " sphinx-notfound-page" ,
33+ " sphinx-sitemap" ,
3334 " sphinx_inline_tabs" ,
3435 " sphinxcontrib-svg2pdfconverter" ,
3536 " sphinxext.opengraph" , # matplotlib is required for social cards
You can’t perform that action at this time.
0 commit comments