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
1616markdown == 3.8.2
1717
1818# 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
2020
2121# Tutorial dependencies
2222tqdm == 4.66.1
Original file line number Diff line number Diff line change @@ -158,9 +158,7 @@ def wrapper(*args, **kwargs):
158158 "author" : "PyTorch Contributors" ,
159159}
160160
161- html_additional_pages = {
162- "404" : "404.html" ,
163- }
161+
164162
165163# -- Sphinx-gallery configuration --------------------------------------------
166164
@@ -191,6 +189,11 @@ def wrapper(*args, **kwargs):
191189 },
192190}
193191
192+ html_additional_pages = {
193+ "404" : "404.html" ,
194+ }
195+
196+
194197html_baseurl = "https://pytorch.org/tutorials/" # needed for sphinx-sitemap
195198sitemap_locales = [None ]
196199sitemap_excludes = [
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ from our full-length tutorials.
3434 :header: Defining a Neural Network
3535 :card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network for the MNIST dataset.
3636 :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
3838 :tags: Basics
3939
4040.. customcarditem ::
You can’t perform that action at this time.
0 commit comments