Skip to content

Commit

Permalink
docs: Switch back to RTD theme
Browse files Browse the repository at this point in the history
The furo theme needs more work than originally expected, and
sphinx-rtd-theme now supports Sphinx 7.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Sep 4, 2023
1 parent b78d690 commit 34175f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -58,5 +51,4 @@
# 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'
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sphinx
reno
furo
sphinx_rtd_theme>=2.0.0rc2
jinja2
sphinxcontrib-openapi

0 comments on commit 34175f7

Please sign in to comment.