Skip to content

Commit 5d52613

Browse files
authored
Pull latest Sphinx theme (pytorch#158595) (pytorch#158673)
Pull Request resolved: pytorch#158595 Approved by: https://github.com/albanD (cherry picked from commit 79e49ef)
1 parent f41c694 commit 5d52613

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.ci/docker/requirements-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sphinx==5.3.0
44
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@pytorch_sphinx_theme2#egg=pytorch_sphinx_theme2
55

66
# TODO: sphinxcontrib.katex 0.9.0 adds a local KaTeX server to speed up pre-rendering
7-
# but it doesn't seem to work and hangs around idly. The initial thought is probably
7+
# but it doesn't seem to work and hangs around idly. The initial thought it is probably
88
# something related to Docker setup. We can investigate this later
99

1010
sphinxcontrib.katex==0.8.6

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
]
8383
sitemap_url_scheme = "{link}"
8484

85+
html_additional_pages = {
86+
"404": "404.html",
87+
}
88+
8589
# build the templated autosummary files
8690
autosummary_generate = True
8791
numpydoc_show_class_members = False

0 commit comments

Comments
 (0)