Skip to content

Commit

Permalink
Pin sphinx version (fix for current docs build errors) (Lightning-AI#…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
3 people authored and tullie committed May 6, 2020
1 parent 0656648 commit 8c88d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx>=2.0
sphinx>=2.0, <3.0
recommonmark # fails with badges
m2r # fails with multi-line text
nbsphinx
Expand All @@ -9,4 +9,4 @@ sphinxcontrib-mockautodoc
git+https://github.com/PytorchLightning/lightning_sphinx_theme.git
# pip_shims
sphinx-autodoc-typehints
sphinx-paramlinks
sphinx-paramlinks
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

# 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
Expand Down

0 comments on commit 8c88d46

Please sign in to comment.