diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-10-30 13:13:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-30 13:13:34 -0500 |
| commit | 7c1034087e025a07214b0dcaaa9e9ab06c13a4dd (patch) | |
| tree | 76472b499af9460094795235ddda77f17ec988d2 /doc/developer/conf.py | |
| parent | e2f3cfa518fd3a91254db8c80c001786863ba9d3 (diff) | |
| parent | ef9f698e04211281c803a67f3480835f62aae3ee (diff) | |
Merge pull request #17310 from opensourcerouting/fix/doc_build
doc: Create html_context before setting READTHEDOCS
Diffstat (limited to 'doc/developer/conf.py')
| -rw-r--r-- | doc/developer/conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/developer/conf.py b/doc/developer/conf.py index 634f4aa804..a5b5148140 100644 --- a/doc/developer/conf.py +++ b/doc/developer/conf.py @@ -71,6 +71,7 @@ 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 |
