Skip to content

Commit

Permalink
update Sphinx config
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 18, 2024
1 parent 44e0708 commit 5c6bbf0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
'sphinx_toolbox.collapse' # pip install sphinx-toolbox
]

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5c6bbf0

Please sign in to comment.