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
2 changes: 1 addition & 1 deletion .ci/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pandocfilters==1.5.1
markdown==3.8.2

# PyTorch Theme
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@23a72fbf4eb9cbcb7697a71d1889da4d7c10a4f7#egg=pytorch_sphinx_theme2
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@b39e3e1e800132815a6187bf4f7bf545a2e9d8a9#egg=pytorch_sphinx_theme2

# Tutorial dependencies
tqdm==4.66.1
Expand Down
9 changes: 6 additions & 3 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ def wrapper(*args, **kwargs):
"author": "PyTorch Contributors",
}

html_additional_pages = {
"404": "404.html",
}


# -- Sphinx-gallery configuration --------------------------------------------

Expand Down Expand Up @@ -191,6 +189,11 @@ def wrapper(*args, **kwargs):
},
}

html_additional_pages = {
"404": "404.html",
}


html_baseurl = "https://pytorch.org/tutorials/" # needed for sphinx-sitemap
sitemap_locales = [None]
sitemap_excludes = [
Expand Down
2 changes: 1 addition & 1 deletion recipes_index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ from our full-length tutorials.
:header: Defining a Neural Network
:card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network for the MNIST dataset.
:image: _static/img/thumbnails/cropped/defining-a-network.PNG
:link: recipesrecipes/defining_a_neural_network.html
:link: recipes/recipes/defining_a_neural_network.html
:tags: Basics

.. customcarditem::
Expand Down