]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
tools: admin/build-doc: keep-going when finding warnings
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 19 Mar 2019 12:49:53 +0000 (13:49 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 19 Mar 2019 12:49:53 +0000 (13:49 +0100)
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 <abhishek@suse.com>
admin/build-doc

index 6e94d459d3f5d265ca8c24fa04b4c52b99093078..a5e3e86a25ba61722e112b86aebd4487d271970c 100755 (executable)
@@ -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