From 71c10170922ee3fcaae72d1d28dbd80a8d989f75 Mon Sep 17 00:00:00 2001 From: Aki Nitta Date: Wed, 26 May 2021 18:33:24 +0900 Subject: [PATCH] Update sphinx version to 4.0 or later (#7716) --- docs/source/conf.py | 2 +- requirements/docs.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index dbd779c827..0d830d75ec 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -94,7 +94,7 @@ release = about.__version__ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = '3.4' +needs_sphinx = '4.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom diff --git a/requirements/docs.txt b/requirements/docs.txt index b5056fc2da..b53549e087 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,4 +1,4 @@ -sphinx>=3.0, <3.5 # fails with sphinx.ext.viewcode # fails with sphinx_paramlinks with 4.0.0 +sphinx>=4.0 recommonmark # fails with badges m2r # fails with multi-line text nbsphinx>=0.8 @@ -8,6 +8,6 @@ sphinxcontrib-fulltoc>=1.0 sphinxcontrib-mockautodoc https://github.com/PyTorchLightning/lightning_sphinx_theme/archive/master.zip#egg=pt-lightning-sphinx-theme sphinx-autodoc-typehints>=1.0 -sphinx-paramlinks>=0.4.0 +sphinx-paramlinks>=0.5.1 sphinx-togglebutton>=0.2 sphinx-copybutton>=0.3