Skip to content

Commit 405c6b4

Browse files
committed
fix RTD
1 parent d199369 commit 405c6b4

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/conf.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,11 @@
105105

106106
# The theme to use for HTML and HTML Help pages. See the documentation for
107107
# a list of builtin themes.
108-
# on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
109-
# if on_rtd:
110-
# html_theme = "default"
111-
# else:
112-
# html_theme_path = ["_themes"]
113-
html_theme = "sphinx_rtd_theme"
108+
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
109+
if on_rtd:
110+
html_theme = "default"
111+
else:
112+
html_theme = "sphinx_rtd_theme"
114113

115114
html_theme_options = {}
116115

0 commit comments

Comments
 (0)