From 9991563bfeca01fd1bb347a2ed56460ec42ada4c Mon Sep 17 00:00:00 2001 From: thmsdt Date: Wed, 5 Jul 2023 21:02:59 +0200 Subject: [PATCH] doc-rules: create only a WARN message if sphinx build option -W is missing Issue-ID: DOC-811 Signed-off-by: thmsdt Change-Id: Ib47cf66c5eb812f3b6743398aa17c599ed2841b8 --- jjb/doc/rules.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jjb/doc/rules.yaml b/jjb/doc/rules.yaml index 462bdf0ce..d4fec9f46 100644 --- a/jjb/doc/rules.yaml +++ b/jjb/doc/rules.yaml @@ -86,8 +86,10 @@ log_warning_msg "WARN sphinx-build option '-W' missing for spellcheck in $filename, line $linenumber." warning="1" else - log_failure_msg "FAIL sphinx-build option '-W' missing in $filename, line $linenumber. Please add it." - exitstatus="1" + log_warning_msg "WARN sphinx-build option '-W' missing in $filename, line $linenumber. Please add it." + warning="1" + #log_failure_msg "FAIL sphinx-build option '-W' missing in $filename, line $linenumber. Please add it." + #exitstatus="1" fi fi done < $filename -- 2.16.6