From e649c1a8e1eebb4acb34af55c7e1b2f4fdeadaf9 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:31:12 +1300 Subject: [PATCH] Docs: Accept empty string for release envvar --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1f8a886e6da..b9a908167c3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,7 @@ else: release = yosys_ver todo_include_todos = False -elif os.getenv("YOSYS_DOCS_RELEASE"): +elif os.getenv("YOSYS_DOCS_RELEASE") is not None: release = yosys_ver todo_include_todos = False else: