Skip to content

Commit

Permalink
doxygen: More strict checks on build results (#10007)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
unicornx authored Feb 19, 2025
1 parent 14cfc72 commit 5b6944f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions documentation/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5b6944f

Please sign in to comment.