File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 40
40
"sphinx.ext.viewcode" ,
41
41
"sphinx.ext.mathjax" ,
42
42
"sphinx.ext.napoleon" ,
43
+ "sphinx_rtd_theme" ,
43
44
"sphinx_design" ,
44
45
]
45
46
112
113
113
114
# The theme to use for HTML and HTML Help pages. See the documentation for
114
115
# a list of builtin themes.
115
- on_rtd = os .environ .get ("READTHEDOCS" , None ) == "True"
116
- for_dash = os .environ .get ("DASH" , None ) == "True"
117
- if not on_rtd and not for_dash :
118
- import sphinx_rtd_theme
119
-
120
- html_theme = "sphinx_rtd_theme"
121
- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
122
- elif for_dash :
123
- import alabaster
124
-
125
- html_theme = "alabaster"
126
- html_theme_path = [alabaster .get_path ()]
127
- html_theme_options = {"nosidebar" : True }
116
+ html_theme = "sphinx_rtd_theme"
128
117
129
118
# copy over any static assets
130
119
html_static_path = ["assets" ]
You can’t perform that action at this time.
0 commit comments