Skip to content

Commit

Permalink
Docs: upgrade packages (#5600)
Browse files Browse the repository at this point in the history
* upgrade docs packages

* cmd

* -cmd
  • Loading branch information
Borda authored Jan 24, 2021
1 parent ef7345d commit 0c9960b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

# If your documentation needs a minimal Sphinx version, state it here.

needs_sphinx = '2.0'
needs_sphinx = '3.4'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Expand Down Expand Up @@ -277,7 +277,7 @@
def setup(app):
# this is for hiding doctest decoration,
# see: http://z4r.github.io/python/2011/12/02/hides-the-prompts-and-output/
app.add_javascript('copybutton.js')
app.add_js_file('copybutton.js')
app.add_css_file('main.css')


Expand Down
19 changes: 9 additions & 10 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
sphinx>=2.0, <3.0
sphinx>=3.0
recommonmark # fails with badges
m2r # fails with multi-line text
nbsphinx
pandoc
docutils
sphinxcontrib-fulltoc
nbsphinx>=0.8
pandoc>=1.0
docutils>=0.16
sphinxcontrib-fulltoc>=1.0
sphinxcontrib-mockautodoc
https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#egg=pt-lightning-sphinx-theme
# pip_shims
sphinx-autodoc-typehints
sphinx-paramlinks<0.4.0
sphinx-togglebutton
sphinx-copybutton
sphinx-autodoc-typehints>=1.0
sphinx-paramlinks>=0.4.0
sphinx-togglebutton>=0.2
sphinx-copybutton>=0.3

0 comments on commit 0c9960b

Please sign in to comment.