From 44b68fb4987dd746d5dd3c7ab751fdfd7f7a464f Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:18:17 +1300 Subject: [PATCH] Docs: Add check for envvar to disable todos --- docs/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index c625d2814..1f8a886e6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,6 +56,9 @@ if os.getenv("READTHEDOCS"): else: release = yosys_ver todo_include_todos = False +elif os.getenv("YOSYS_DOCS_RELEASE"): + release = yosys_ver + todo_include_todos = False else: release = yosys_ver todo_include_todos = True