From 8cce51135c68651326d61218e58070832e51b227 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 11 Sep 2020 11:08:59 +0200 Subject: [PATCH] docs: do not render TODOs in release builts they are not useful for endusers... Signed-off-by: Thomas Lamprecht --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 6ba3f4b1..0ce67d71 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 ----------------------------------------------