Unverified Commit bae519ce authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

Docs: build with Sphinx 5 (#5121)



* Docs: build with Sphinx 5

* Sphinx 5 no longer accepts language = None
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent 738fa133
...@@ -2,8 +2,6 @@ matplotlib ...@@ -2,8 +2,6 @@ matplotlib
numpy numpy
sphinx-copybutton>=0.3.1 sphinx-copybutton>=0.3.1
sphinx-gallery>=0.9.0 sphinx-gallery>=0.9.0
sphinx==3.5.4 sphinx==5.0.0
tabulate tabulate
# This pin is only needed for sphinx<4.0.2. See https://github.com/pytorch/vision/issues/5673 for details
Jinja2<3.1.*
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
...@@ -103,7 +103,7 @@ if VERSION: ...@@ -103,7 +103,7 @@ if VERSION:
# #
# This is also used if you do content translation via gettext catalogs. # This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases. # Usually you set "language" from the command line for these cases.
language = None language = "en"
# List of patterns, relative to source directory, that match files and # List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files. # directories to ignore when looking for source files.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment