From: Alfredo Deza Date: Tue, 15 Aug 2017 11:48:51 +0000 (-0400) Subject: admin: do not allow errors or warnings from doc build X-Git-Tag: v13.0.0~94^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d3543ef8b0c49ee89ab8d10dca5d857e4b89a738;p=ceph-ci.git admin: do not allow errors or warnings from doc build Signed-off-by: Alfredo Deza --- diff --git a/admin/build-doc b/admin/build-doc index 0caa048767c..e62c5840196 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -111,8 +111,11 @@ for target in $sphinx_targets; do extra_opt="-t man" ;; esac - $vdir/bin/sphinx-build -a -b $builder $extra_opt -d doctrees \ + # 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 \ $TOPDIR/doc $TOPDIR/build-doc/output/$target + + done #