Commit bb122e55 authored by Nicholas Bollweg's avatar Nicholas Bollweg
Browse files

rtd env var is python-style True

parent b1f4180a
......@@ -228,7 +228,7 @@ class C:
APPS = ["classic", "lab"]
ENC = dict(encoding="utf-8")
CI = bool(json.loads(os.environ.get("CI", "0")))
RTD = bool(json.loads(os.environ.get("READTHEDOCS", "0")))
RTD = bool(json.loads(os.environ.get("READTHEDOCS", "False").lower()))
DOCS_ENV_MARKER = "### DOCS ENV ###"
NO_TYPEDOC = ["_metapackage"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment