File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 43
43
44
44
# The theme to use for HTML and HTML Help pages. See the documentation for
45
45
# a list of builtin themes.
46
- #
47
- html_theme = 'alabaster'
46
+ try :
47
+ import sphinx_rtd_theme
48
+ except :
49
+ html_theme = 'default'
50
+ else :
51
+ html_theme = 'sphinx_rtd_theme'
52
+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
48
53
49
54
# Add any paths that contain custom static files (such as style sheets) here,
50
55
# relative to this directory. They are copied after the builtin static files,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ exclude =
17
17
.cache,
18
18
# Sphinx configuration is irrelevant
19
19
docs/source/conf.py,
20
+ mypyc/doc/conf.py,
20
21
# conflicting styles
21
22
misc/*,
22
23
# conflicting styles
You can’t perform that action at this time.
0 commit comments