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 8697eb8 commit 1d82690Copy full SHA for 1d82690
docs/conf.py
@@ -91,12 +91,16 @@
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 = 'agogo'
95
-html_theme = 'sphinxdoc'
96
-#html_theme = 'scrolls'
97
-#html_theme = 'nature'
98
-#html_theme = 'haiku'
99
-#html_theme = 'pyramid'
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+if on_rtd:
+ html_theme = 'default'
+else:
+ #html_theme = 'agogo'
+ html_theme = 'sphinxdoc'
100
+ #html_theme = 'scrolls'
101
+ #html_theme = 'nature'
102
+ #html_theme = 'haiku'
103
+ #html_theme = 'pyramid'
104
105
# Theme options are theme-specific and customize the look and feel of a theme
106
# further. For a list of options available for each theme, see the
0 commit comments