mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-05 17:14:08 +00:00
Docs: Accept empty string for release envvar
This commit is contained in:
parent
44b68fb498
commit
e649c1a8e1
|
@ -56,7 +56,7 @@ if os.getenv("READTHEDOCS"):
|
||||||
else:
|
else:
|
||||||
release = yosys_ver
|
release = yosys_ver
|
||||||
todo_include_todos = False
|
todo_include_todos = False
|
||||||
elif os.getenv("YOSYS_DOCS_RELEASE"):
|
elif os.getenv("YOSYS_DOCS_RELEASE") is not None:
|
||||||
release = yosys_ver
|
release = yosys_ver
|
||||||
todo_include_todos = False
|
todo_include_todos = False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue