We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb8163 commit 24e9711Copy full SHA for 24e9711
docs/source/conf.py
@@ -91,7 +91,11 @@
91
92
# The theme to use for HTML and HTML Help pages. See the documentation for
93
# a list of builtin themes.
94
-html_theme = 'nature'
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
95
+if on_rtd:
96
+ html_theme = 'default'
97
+else:
98
+ html_theme = 'nature'
99
100
# Theme options are theme-specific and customize the look and feel of a theme
101
# further. For a list of options available for each theme, see the
0 commit comments