diff --git a/docs/source-app/conf.py b/docs/source-app/conf.py index 05d817b83d17f..7efebfc4ff219 100644 --- a/docs/source-app/conf.py +++ b/docs/source-app/conf.py @@ -55,7 +55,7 @@ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "6.2" +needs_sphinx = "4.5" # 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/docs/source-fabric/conf.py b/docs/source-fabric/conf.py index 7fb46de7d46c7..5c6028f8333b7 100644 --- a/docs/source-fabric/conf.py +++ b/docs/source-fabric/conf.py @@ -56,7 +56,7 @@ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "6.2" +needs_sphinx = "4.5" # 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/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 86104ba21f05e..20c5c6caf3fbe 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -120,7 +120,7 @@ def _load_py_module(name: str, location: str) -> ModuleType: # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "6.2" +needs_sphinx = "4.5" # 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 034792e5167c5..9843c7e665fa5 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,5 +1,5 @@ -sphinx >6.0, <7.0 -myst-parser ==2.0.0 +sphinx >=4.0, <5.0 +myst-parser >=0.18.1, <1.0.0 nbsphinx >=0.8.5, <=0.8.9 pandoc >=1.0, <=2.3 docutils >=0.16, <0.20 @@ -14,6 +14,6 @@ sphinx-multiproject sphinx-toolbox ==3.4.0 sphinx-rtd-dark-mode sphinxcontrib-video ==0.2.0 -jinja2 >=3.0.0,<3.2.0 +jinja2 <3.2.0 lightning-utilities >=0.9.0