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>
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)
# 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'
sphinx
reno
-furo
+sphinx_rtd_theme>=2.0.0rc2
jinja2
sphinxcontrib-openapi