Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sphinx==5.0.0
sphinx_design
sphinx_copybutton
sphinx-tabs
sphinx-sitemap
matplotlib
torchvision
ipython
Expand Down
10 changes: 10 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"sphinx_tabs.tabs",
"sphinx_design",
"sphinx_copybutton",
"sphinx_sitemap",
]


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

# sitemap config
html_baseurl = "https://meta-pytorch.org/torchcodec/stable/"
sitemap_locales = [None]
sitemap_excludes = [
"search.html",
"genindex.html",
]
sitemap_url_scheme = "{link}"


def inject_minigalleries(app, what, name, obj, options, lines):
"""Inject a minigallery into a docstring.
Expand Down
Loading