Skip to content

Commit 31454aa

Browse files
committed
Add 404 page.html
1 parent cd2ef2e commit 31454aa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Sphinx dependencies
55
sphinx==7.2.6
6-
sphinx-gallery==0.16.0
6+
sphinx-gallery==0.14.0
77
sphinx_design==0.6.1
88
sphinxext-opengraph==0.10.0
99
docutils>=0.18.1,<0.21

conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ def wrapper(*args, **kwargs):
120120
"author": "PyTorch Contributors",
121121
}
122122

123+
html_additional_pages = {
124+
'404': '404.html',
125+
}
126+
123127
# Add any Sphinx extension module names here, as strings. They can be
124128
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
125129
# ones.

0 commit comments

Comments
 (0)