Skip to content

Commit 9957103

Browse files
committed
Simplify doc theme management
1 parent db6968c commit 9957103

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/conf.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@
2222

2323
import stagpy
2424

25-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
26-
if on_rtd:
27-
html_style = '/default.css'
28-
else:
29-
import sphinx_rtd_theme
30-
html_theme = 'sphinx_rtd_theme'
31-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
25+
html_theme = 'sphinx_rtd_theme'
3226

3327
# -- General configuration ------------------------------------------------
3428

0 commit comments

Comments
 (0)