Skip to content

Commit

Permalink
Docs: Add check for envvar to disable todos
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Nov 19, 2024
1 parent 1476eab commit 44b68fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
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
Expand Down

0 comments on commit 44b68fb

Please sign in to comment.