From 23802429283d899fcd432a1cb6600e015b3c99cd Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 25 May 2023 15:36:28 +0200 Subject: [PATCH] docs: Use '--exit-status=' option for 'rst2html5' Ensure that also 'non-halting' messages stop the build process. Signed-off-by: Peter Krempa Reviewed-by: Martin Kletzander --- docs/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/meson.build b/docs/meson.build index 2f0ecb2272..201fd4c984 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -210,7 +210,7 @@ endif docs_rst2html5_gen = generator( rst2html5_prog, output: '@BASENAME@.html.in', - arguments: [ '--stylesheet=', '--strict', '@INPUT@' ], + arguments: [ '--exit-status=1', '--stylesheet=', '--strict', '@INPUT@' ], capture: true, )