Skip to content

Commit

Permalink
check error of make html (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoZhangJianyu authored Nov 1, 2024
1 parent 909657b commit 7b48d9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ cd docs
make clean
make html

retval=$?
if [ $retval -ne 0 ]; then
echo "make html is error"
exit 1
else
echo "Done"
fi

if [ ! -d _build/html ]; then
echo "Build online doc is wrong!"
exit 1
Expand Down

0 comments on commit 7b48d9a

Please sign in to comment.