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 bf85f96 commit d1573bbCopy full SHA for d1573bb
docs/conf.py
@@ -20,6 +20,8 @@
20
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
21
from git_version import git_version
22
23
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
24
+
25
# If extensions (or modules to document with autodoc) are in another directory,
26
# add these directories to sys.path here. If the directory is relative to the
27
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -115,7 +117,8 @@
115
117
116
118
# The theme to use for HTML and HTML Help pages. See the documentation for
119
# a list of builtin themes.
-#html_theme = 'sphinx_rtd_theme'
120
+if not on_rtd:
121
+ html_theme = 'sphinx_rtd_theme'
122
123
def setup(app):
124
# overrides for wide tables in RTD theme
0 commit comments