diff --git a/docs/source/conf.py b/docs/source/conf.py index 35ebbeba9..2770acac9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,7 +57,6 @@ "sphinxcontrib.redoc", # generate live OpenAPI with this doc "sphinx.ext.autodoc", # document code docstrings "sphinx.ext.autosectionlabel", # help make cross-references to title/sections - "cloud_sptheme.ext.autodoc_sections", # allow sections in docstrings code "sphinx.ext.githubpages", # for publishing the doc to GitHub pages "sphinx.ext.todo", # support directives "sphinx.ext.viewcode", # add links to highlighted source code diff --git a/requirements-doc.txt b/requirements-doc.txt index 1f402ae6e..8092d5816 100644 --- a/requirements-doc.txt +++ b/requirements-doc.txt @@ -3,17 +3,13 @@ # we actually need to install all requirements during docs build because of OpenAPI generation # (see 'docs/source/conf.py') -r requirements.txt -cloud_sptheme -jinja2<3.1 # fix sphinx failing, see: https://github.com/sphinx-doc/sphinx/issues/10291 -sphinx>=3.5,<6; python_version <= "3.7" -# sphinx>=7 blocked by 'sphinx_rtd_theme' -# - https://github.com/readthedocs/sphinx_rtd_theme/issues/1463 -# - https://github.com/readthedocs/sphinx_rtd_theme/pull/1464 -sphinx>=6,<7; python_version >= "3.8" +jinja2 +sphinx>=4.0.2,<6; python_version <= "3.7" +sphinx>=6,<8; python_version >= "3.8" sphinx-argparse sphinx-autoapi>=1.7.0 sphinx-paramlinks>=0.4.1 # adds redoc OpenAPI directly served on readthedocs sphinxcontrib-redoc>=1.6.0 sphinx_autodoc_typehints[type_comment]>=1.19; python_version >= "3.7" -sphinx_rtd_theme>=0.5.1 +sphinx_rtd_theme>=1.3.0,<2