From: Abhishek Lekshmanan Date: Tue, 19 Mar 2019 12:49:53 +0000 (+0100) Subject: tools: admin/build-doc: keep-going when finding warnings X-Git-Tag: v15.0.0~172^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6b6d6ccab8c0049cf799e44a56c9d441a86b8a5b;p=ceph.git tools: admin/build-doc: keep-going when finding warnings This allows the build to fail, but also report a list of warnings so that multiple runs are not required to find all the errors in doc changes Signed-off-by: Abhishek Lekshmanan --- diff --git a/admin/build-doc b/admin/build-doc index 6e94d459d3f..a5e3e86a25b 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -118,7 +118,7 @@ for target in $sphinx_targets; do ;; esac # Build with -W so that warnings are treated as errors and this fails - $vdir/bin/sphinx-build -W -a -b $builder $extra_opt -d doctrees \ + $vdir/bin/sphinx-build -W --keep-going -a -b $builder $extra_opt -d doctrees \ $TOPDIR/doc $TOPDIR/build-doc/output/$target