Pin sphinx version (fix for current docs build errors) (#1382)
* Update requirements.txt * Update docs/requirements.txt Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * freeze sphinx version * Update docs/source/conf.py Co-Authored-By: Adrian Wälchli <aedu.waelchli@gmail.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: J. Borovec <jirka.borovec@seznam.cz>
This commit is contained in:
parent
91c9b29d47
commit
5f6be4dd53
|
@ -1,4 +1,4 @@
|
|||
sphinx>=2.0
|
||||
sphinx>=2.0, <3.0
|
||||
recommonmark # fails with badges
|
||||
m2r # fails with multi-line text
|
||||
nbsphinx
|
||||
|
@ -9,4 +9,4 @@ sphinxcontrib-mockautodoc
|
|||
git+https://github.com/PytorchLightning/lightning_sphinx_theme.git
|
||||
# pip_shims
|
||||
sphinx-autodoc-typehints
|
||||
sphinx-paramlinks
|
||||
sphinx-paramlinks
|
||||
|
|
|
@ -66,7 +66,7 @@ release = pytorch_lightning.__version__
|
|||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
|
||||
needs_sphinx = '1.4'
|
||||
needs_sphinx = '2.0'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
|
|
Loading…
Reference in New Issue