From 6b6d6ccab8c0049cf799e44a56c9d441a86b8a5b Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Tue, 19 Mar 2019 13:49:53 +0100 Subject: [PATCH] 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 --- admin/build-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5