mirror of https://github.com/YosysHQ/yosys.git
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:
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue