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 ae12343 commit 635ac02Copy full SHA for 635ac02
doc/conf.py
@@ -19,6 +19,14 @@
19
import nipype
20
import subprocess as sp
21
22
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
23
+
24
+# Tell Jinja2 templates the build is running on Read the Docs
25
+if os.environ.get("READTHEDOCS", "") == "True":
26
+ if "html_context" not in globals():
27
+ html_context = {}
28
+ html_context["READTHEDOCS"] = True
29
30
# Disable etelemetry during doc builds
31
os.environ["NIPYPE_NO_ET"] = "1"
32
0 commit comments