diff --git a/hack/verify-capi-book-summary.sh b/hack/verify-capi-book-summary.sh index f59923db3aed..eb760792198d 100755 --- a/hack/verify-capi-book-summary.sh +++ b/hack/verify-capi-book-summary.sh @@ -26,7 +26,7 @@ RESULT=0 SUMMARY=$(cat ./docs/book/src/SUMMARY.md) pushd ./docs/book/src > /dev/null -FILES=$(find -- * -name "*.md" ! -name "SUMMARY.md") +FILES=$(find -- * -name "*.md" ! -name "SUMMARY.md" ! -name "code-examples.md") while read -r file; do if ! [[ $SUMMARY == *"${file}"* ]]; then RESULT=1 @@ -35,4 +35,4 @@ while read -r file; do done <<< "${FILES}" popd > /dev/null -exit ${RESULT} \ No newline at end of file +exit ${RESULT}