Skip to content

Commit

Permalink
tools: admin/build-doc: keep-going when finding warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
theanalyst committed Mar 19, 2019
1 parent 03c6e13 commit 6b6d6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/build-doc
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 6b6d6cc

Please sign in to comment.