From 5c6bbf0a06e4e695fd699544b96baba844b0519d Mon Sep 17 00:00:00 2001 From: Benjamin Alan Weaver Date: Wed, 18 Sep 2024 08:46:21 -0700 Subject: [PATCH] update Sphinx config --- doc/conf.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index b37db22f..481b4c35 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,6 +35,7 @@ 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', + 'sphinx_rtd_theme', 'sphinx_toolbox.collapse' # pip install sphinx-toolbox ] @@ -133,12 +134,7 @@ # a list of builtin themes. #html_theme = 'default' #html_theme = 'haiku' -try: - import sphinx_rtd_theme - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] -except ImportError: - pass +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the