Filter spellcheck in the sphinx-build -W checks
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
diff --git a/jjb/doc/rules.yaml b/jjb/doc/rules.yaml
index c56755f..5f74492 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