From 2dcc7011a94640d3d8d55ff88c8a9c6e3fc7eaba Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Wed, 15 Mar 2023 21:07:37 +0100 Subject: [PATCH] Filter spellcheck in the sphinx-build -W checks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit They are currently 976 misspelled words in oom for instance. https://jenkins.onap.org/view/doc/job/doc-rules/58/console Issue-ID: DOC-798 Signed-off-by: Cédric Ollivier Change-Id: Iacd31fdf44e94dc9aa2a3553cd6505f89fefae61 --- jjb/doc/rules.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jjb/doc/rules.yaml b/jjb/doc/rules.yaml index c56755f2e..5f74492c3 100644 --- a/jjb/doc/rules.yaml +++ b/jjb/doc/rules.yaml @@ -31,7 +31,8 @@ name: doc-rules builders: - shell: | - find -name tox.ini |xargs grep sphinx-build | grep -v \\-W > /dev/null && exit 1 || exit 0 + echo Checking if all Sphinx warnings are treated as errors + find -name tox.ini |xargs grep sphinx-build | grep -v spelling | grep -v \\-W && exit 1 || exit 0 - job-template: name: doc-rules -- 2.16.6