]> git.proxmox.com Git - proxmox-backup.git/commitdiff
docs: do not render TODOs in release builts
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 11 Sep 2020 09:08:59 +0000 (11:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 11 Sep 2020 09:09:00 +0000 (11:09 +0200)
they are not useful for endusers...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
docs/conf.py

index 6ba3f4b18eb9af8bcbe862b18e0f7da145f50f63..0ce67d71a790fbf609c1bcd6ba4e716485206526 100644 (file)
@@ -148,7 +148,7 @@ pygments_style = 'sphinx'
 # keep_warnings = False
 
 # If true, `todo` and `todoList` produce output, else they produce nothing.
-todo_include_todos = True
+todo_include_todos = not tags.has('release')
 
 
 # -- Options for HTML output ----------------------------------------------