From d3543ef8b0c49ee89ab8d10dca5d857e4b89a738 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 15 Aug 2017 07:48:51 -0400 Subject: [PATCH] admin: do not allow errors or warnings from doc build Signed-off-by: Alfredo Deza --- admin/build-doc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/admin/build-doc b/admin/build-doc index 0caa048767c8a..e62c584019633 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 # -- 2.39.5