File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020import os
2121import sys
2222
23+ import sphinx_rtd_theme
24+
2325sys .path .insert (0 , os .path .abspath ('..' ))
2426
2527
110112# The theme to use for HTML and HTML Help pages. See the documentation for
111113# a list of builtin themes.
112114#
113- html_theme = 'default'
114115
115116# Theme options are theme-specific and customize the look and feel of a theme
116117# further. For a list of options available for each theme, see the
@@ -126,10 +127,8 @@ def setup(app):
126127# so a file named "default.css" will overwrite the builtin "default.css".
127128html_static_path = ['_static' ]
128129
129- if not on_rtd : # only import and set the theme if we're building docs locally
130- import sphinx_rtd_theme
131- html_theme = 'sphinx_rtd_theme'
132- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
130+ html_theme = 'sphinx_rtd_theme'
131+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
133132
134133
135134# -- Options for HTMLHelp output ------------------------------------------
You can’t perform that action at this time.
0 commit comments