Docs: Add check for envvar to disable todos

This commit is contained in:
Krystine Sherwin 2024-11-20 12:18:17 +13:00
parent 1476eaba00
commit 44b68fb498
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -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