File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 40
40
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
41
41
# ones.
42
42
extensions = [
43
- 'sphinxcontrib.spelling'
43
+ 'sphinxcontrib.spelling' ,
44
+ 'sphinx_rtd_theme' ,
44
45
]
45
46
46
47
# Spelling configuration
122
123
123
124
# -- Options for HTML output ----------------------------------------------
124
125
125
- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
126
- if not on_rtd : # only import and set the theme if we're building docs locally
127
- import sphinx_rtd_theme
128
- html_theme = 'sphinx_rtd_theme'
129
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
126
+ html_theme = 'sphinx_rtd_theme'
130
127
131
128
# Theme options are theme-specific and customize the look and feel of a theme
132
129
# further. For a list of options available for each theme, see the
You can’t perform that action at this time.
0 commit comments