From 34175f7c353728dd482a7ee41656b39d413be9c3 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 4 Sep 2023 13:15:18 +0100 Subject: [PATCH] docs: Switch back to RTD theme The furo theme needs more work than originally expected, and sphinx-rtd-theme now supports Sphinx 7. Signed-off-by: Stephen Finucane --- docs/conf.py | 10 +--------- docs/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b86163ed..aa564d11 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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' diff --git a/docs/requirements.txt b/docs/requirements.txt index 9c844cf2..0c625b78 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ sphinx reno -furo +sphinx_rtd_theme>=2.0.0rc2 jinja2 sphinxcontrib-openapi -- 2.47.3