Skip to content

Commit 34175f7

Browse files
committed
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 <stephen@that.guru>
1 parent b78d690 commit 34175f7

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

docs/conf.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
import os
44
import sys
55

6-
try:
7-
import furo # noqa
8-
9-
has_furo_theme = True
10-
except ImportError:
11-
has_furo_theme = False
12-
136
PATCHWORK_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
147
sys.path.insert(0, PATCHWORK_DIR)
158

@@ -58,5 +51,4 @@
5851
# The theme to use for HTML and HTML Help pages. See the documentation for
5952
# a list of builtin themes.
6053
#
61-
if has_furo_theme:
62-
html_theme = 'furo'
54+
html_theme = 'sphinx_rtd_theme'

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sphinx
22
reno
3-
furo
3+
sphinx_rtd_theme>=2.0.0rc2
44
jinja2
55
sphinxcontrib-openapi

0 commit comments

Comments
 (0)