From c90f99ec5a5f333fd4a7cfadde07490111c7d3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Gonz=C3=A1lez=20Alonso?= Date: Fri, 17 Nov 2023 16:04:42 +0100 Subject: [PATCH] fix: upgrade Sphinx to fix readthedocs theme --- CHANGELOG.rst | 2 ++ docs/conf.py | 4 +++- docs/requirements.txt | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ac571724..e3f6ebda 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,8 @@ v3.1.1 *Release date: In development* +- Upgrade Sphinx version from 4.* to 7.* to fix readthedocs theme format + v3.1.0 ------ diff --git a/docs/conf.py b/docs/conf.py index 7777b10b..be42a34c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,6 +55,7 @@ 'sphinx.ext.todo', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', + 'sphinx_rtd_theme', ] # Add any paths that contain templates here, relative to this directory. @@ -127,7 +128,8 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +# html_theme = 'default' +html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/requirements.txt b/docs/requirements.txt index f3415ccf..77b8ac80 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -Sphinx==4.* -sphinx_rtd_theme==1.* -readthedocs-sphinx-search==0.1.* +Sphinx~=7.2 +sphinx_rtd_theme~=1.3 +readthedocs-sphinx-search~=0.3