docs: update Makefile in order to detect build failures
authorVincent Fu <vincent.fu@samsung.com>
Fri, 28 Jan 2022 18:50:11 +0000 (18:50 +0000)
committerVincent Fu <vincentfu@gmail.com>
Fri, 4 Feb 2022 20:39:33 +0000 (15:39 -0500)
With the -W option sphinx-docs will yield a non-zero return code when it
encounters warnings.

With the --keep-going option sphinx-docs will continue running to the
end of the build even if it encounters errors.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
doc/Makefile

index 3b979f9acb20f62bc733b514db2cc3dda2d56d9f..a444d83a50c069bce203de188915307764a3762a 100644 (file)
@@ -2,7 +2,7 @@
 #
 
 # You can set these variables from the command line.
-SPHINXOPTS    =
+SPHINXOPTS    = -W --keep-going
 SPHINXBUILD   = sphinx-build
 PAPER         =
 BUILDDIR      = output