Skip to content

Commit 5c6bbf0

Browse files
committed
update Sphinx config
1 parent 44e0708 commit 5c6bbf0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

doc/conf.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
'sphinx.ext.mathjax',
3636
'sphinx.ext.viewcode',
3737
'sphinx.ext.napoleon',
38+
'sphinx_rtd_theme',
3839
'sphinx_toolbox.collapse' # pip install sphinx-toolbox
3940
]
4041

@@ -133,12 +134,7 @@
133134
# a list of builtin themes.
134135
#html_theme = 'default'
135136
#html_theme = 'haiku'
136-
try:
137-
import sphinx_rtd_theme
138-
html_theme = 'sphinx_rtd_theme'
139-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
140-
except ImportError:
141-
pass
137+
html_theme = 'sphinx_rtd_theme'
142138

143139
# Theme options are theme-specific and customize the look and feel of a theme
144140
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)