Skip to content

Commit 68207f9

Browse files
committed
Add sitemap config
1 parent 45ab588 commit 68207f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"sphinx_tabs.tabs",
5656
"sphinx_design",
5757
"sphinx_copybutton",
58+
"sphinx_sitemap",
5859
]
5960

6061

@@ -216,6 +217,15 @@ def __call__(self, filename):
216217
"matplotlib": ("https://matplotlib.org/stable/", None),
217218
}
218219

220+
# sitemap config
221+
html_baseurl = "https://meta-pytorch.org/torchcodec/stable/"
222+
sitemap_locales = [None]
223+
sitemap_excludes = [
224+
"search.html",
225+
"genindex.html",
226+
]
227+
sitemap_url_scheme = "{link}"
228+
219229

220230
def inject_minigalleries(app, what, name, obj, options, lines):
221231
"""Inject a minigallery into a docstring.

0 commit comments

Comments
 (0)