Skip to content

Commit 0c9960b

Browse files
authored
Docs: upgrade packages (#5600)
* upgrade docs packages * cmd * -cmd
1 parent ef7345d commit 0c9960b

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282

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

85-
needs_sphinx = '2.0'
85+
needs_sphinx = '3.4'
8686

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

283283

requirements/docs.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
sphinx>=2.0, <3.0
1+
sphinx>=3.0
22
recommonmark # fails with badges
33
m2r # fails with multi-line text
4-
nbsphinx
5-
pandoc
6-
docutils
7-
sphinxcontrib-fulltoc
4+
nbsphinx>=0.8
5+
pandoc>=1.0
6+
docutils>=0.16
7+
sphinxcontrib-fulltoc>=1.0
88
sphinxcontrib-mockautodoc
99
https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#egg=pt-lightning-sphinx-theme
10-
# pip_shims
11-
sphinx-autodoc-typehints
12-
sphinx-paramlinks<0.4.0
13-
sphinx-togglebutton
14-
sphinx-copybutton
10+
sphinx-autodoc-typehints>=1.0
11+
sphinx-paramlinks>=0.4.0
12+
sphinx-togglebutton>=0.2
13+
sphinx-copybutton>=0.3

0 commit comments

Comments
 (0)