summaryrefslogtreecommitdiff
path: root/doc/user/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/conf.py')
-rw-r--r--doc/user/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/conf.py b/doc/user/conf.py
index 236a90e902..f9f178f5ff 100644
--- a/doc/user/conf.py
+++ b/doc/user/conf.py
@@ -73,11 +73,11 @@ release = "?.?-?"
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
# Tell Jinja2 templates the build is running on Read the Docs
+html_context = {}
if os.environ.get("READTHEDOCS", "") == "True":
html_context["READTHEDOCS"] = True
-
# -----------------------------------------------------------------------------
# Extract values from codebase for substitution into docs.
# -----------------------------------------------------------------------------