]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: Switch back to RTD theme
authorStephen Finucane <stephen@that.guru>
Mon, 4 Sep 2023 12:15:18 +0000 (13:15 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 4 Sep 2023 12:17:57 +0000 (13:17 +0100)
The furo theme needs more work than originally expected, and
sphinx-rtd-theme now supports Sphinx 7.

Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/conf.py
docs/requirements.txt

index b86163ede831fff1f515b8ffb322b7b93dc8b211..aa564d1143c4b07a30be5d06acd5cf5b2ddbe2b1 100644 (file)
@@ -3,13 +3,6 @@
 import os
 import sys
 
-try:
-    import furo  # noqa
-
-    has_furo_theme = True
-except ImportError:
-    has_furo_theme = False
-
 PATCHWORK_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 sys.path.insert(0, PATCHWORK_DIR)
 
@@ -58,5 +51,4 @@ todo_include_todos = False
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-if has_furo_theme:
-    html_theme = 'furo'
+html_theme = 'sphinx_rtd_theme'
index 9c844cf27d43a9a8d6318af622a882a1c05ab8fe..0c625b783435e5988ef3a03dd7b6cf367ef15504 100644 (file)
@@ -1,5 +1,5 @@
 sphinx
 reno
-furo
+sphinx_rtd_theme>=2.0.0rc2
 jinja2
 sphinxcontrib-openapi