File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pandocfilters==1.5.1
16
16
markdown == 3.8.2
17
17
18
18
# PyTorch Theme
19
- -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@23a72fbf4eb9cbcb7697a71d1889da4d7c10a4f7 #egg=pytorch_sphinx_theme2
19
+ -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@b39e3e1e800132815a6187bf4f7bf545a2e9d8a9 #egg=pytorch_sphinx_theme2
20
20
21
21
# Tutorial dependencies
22
22
tqdm == 4.66.1
Original file line number Diff line number Diff line change @@ -158,9 +158,7 @@ def wrapper(*args, **kwargs):
158
158
"author" : "PyTorch Contributors" ,
159
159
}
160
160
161
- html_additional_pages = {
162
- "404" : "404.html" ,
163
- }
161
+
164
162
165
163
# -- Sphinx-gallery configuration --------------------------------------------
166
164
@@ -191,6 +189,11 @@ def wrapper(*args, **kwargs):
191
189
},
192
190
}
193
191
192
+ html_additional_pages = {
193
+ "404" : "404.html" ,
194
+ }
195
+
196
+
194
197
html_baseurl = "https://pytorch.org/tutorials/" # needed for sphinx-sitemap
195
198
sitemap_locales = [None ]
196
199
sitemap_excludes = [
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ from our full-length tutorials.
34
34
:header: Defining a Neural Network
35
35
:card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network for the MNIST dataset.
36
36
:image: _static/img/thumbnails/cropped/defining-a-network.PNG
37
- :link: recipesrecipes /defining_a_neural_network.html
37
+ :link: recipes/recipes /defining_a_neural_network.html
38
38
:tags: Basics
39
39
40
40
.. customcarditem ::
You can’t perform that action at this time.
0 commit comments