Skip to content

Commit 3d97e28

Browse files
committed
update doc configuration
1 parent f96ef2d commit 3d97e28

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/source/conf.py

+8
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@
3636

3737
html_theme = 'sphinx_rtd_theme'
3838
html_static_path = ['_static']
39+
40+
# try to use the read the docs theme
41+
try:
42+
import sphinx_rtd_theme
43+
html_theme = "sphinx_rtd_theme"
44+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
45+
except:
46+
pass

0 commit comments

Comments
 (0)