Docs: Accept empty string for release envvar

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

View File

@ -56,7 +56,7 @@ if os.getenv("READTHEDOCS"):
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: