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 f484185 commit 12ff8b9Copy full SHA for 12ff8b9
doc/conf.py
@@ -107,12 +107,11 @@
107
# -- Options for HTML output ----------------------------------------------
108
# The theme to use for HTML and HTML Help pages. See the documentation for
109
# a list of builtin themes.
110
-import sphinx_rtd_theme
111
-
112
-html_theme = "sphinx_rtd_theme"
113
114
-html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
115
-#html_theme = 'bizstyle'
+on_rtd = os.environ.get('READTHEDOCS') == 'True'
+if on_rtd:
+ html_theme = 'default'
+else:
+ html_theme = 'bizstyle'
116
117
# Theme options are theme-specific and customize the look and feel of a theme
118
# further. For a list of options available for each theme, see the
0 commit comments