We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c80a8f commit b836e3fCopy full SHA for b836e3f
.gitignore
@@ -0,0 +1,2 @@
1
+_build
2
+html
conf.py
@@ -11,6 +11,13 @@
11
12
import sys, os
13
14
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
15
+
16
+if not on_rtd: # only import and set the theme if we're building docs locally
17
+ import sphinx_rtd_theme
18
+ html_theme = 'sphinx_rtd_theme'
19
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
20
21
# -- General configuration -----------------------------------------------------
22
23
# Add any Sphinx extension module names here, as strings. They can be extensions
0 commit comments