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>
;;
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