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 3361c13 commit c4dbf1dCopy full SHA for c4dbf1d
docs/conf.py
@@ -116,13 +116,10 @@
116
# The theme to use for HTML and HTML Help pages. See the documentation for
117
# a list of builtin themes.
118
119
-on_rtd = os.environ.get("READTHEDOCS", None) == "True"
+import sphinx_rtd_theme
120
121
-if not on_rtd: # only import and set the theme if we're building docs locally
122
- import sphinx_rtd_theme
123
-
124
- html_theme = "sphinx_rtd_theme"
125
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+html_theme = "sphinx_rtd_theme"
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
126
127
# Theme options are theme-specific and customize the look and feel of a theme
128
# further. For a list of options available for each theme, see the
0 commit comments