From 5b6944f7fa1d60b64a3f1275da94df1c1a15944a Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Wed, 19 Feb 2025 21:21:04 +0800 Subject: [PATCH] doxygen: More strict checks on build results (#10007) Github CI doc_doxygen is very strict in checking the build results, and will output failure even if there are warnings. In order to match CI's checks, local build scripts are also checked more strictly to detect potential errors and even warnings as early as possible. Signed-off-by: Chen Wang --- documentation/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/run.sh b/documentation/run.sh index 35959d680b..3b7d551c3c 100755 --- a/documentation/run.sh +++ b/documentation/run.sh @@ -3,6 +3,12 @@ rm -rf ./html doxygen +if [ $? -ne 0 ]; then + echo "" + echo "OOPS: Something error/warning occurred during Doxygen building, please check it out!" + echo "" + exit 1 +fi pushd html python3 -m http.server \ No newline at end of file