Filter spellcheck in the sphinx-build -W checks 74/133674/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 15 Mar 2023 20:07:37 +0000 (21:07 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 15 Mar 2023 20:10:38 +0000 (21:10 +0100)
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 <cedric.ollivier@orange.com>
Change-Id: Iacd31fdf44e94dc9aa2a3553cd6505f89fefae61

jjb/doc/rules.yaml

index c56755f..5f74492 100644 (file)
@@ -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