summaryrefslogtreecommitdiffstats
path: root/jjb/doc
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-03-15 21:07:37 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2023-03-15 21:10:38 +0100
commit2dcc7011a94640d3d8d55ff88c8a9c6e3fc7eaba (patch)
treedcd638377afe7c77ddca53a4a71267fd8b50323d /jjb/doc
parent20ecc76f30ba223967321e2f6d097c41470fe0a6 (diff)
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
Diffstat (limited to 'jjb/doc')
-rw-r--r--jjb/doc/rules.yaml3
1 files changed, 2 insertions, 1 deletions
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