Revision 2a46fd67267716efd58311064e4a91abfa2a0a1c authored by Joe Stringer on 01 September 2021, 19:58:41 UTC, committed by Joe Stringer on 01 September 2021, 22:03:22 UTC
Signed-off-by: Joe Stringer <joe@cilium.io>
1 parent 430e348
98-documentation-link-check.sh
#!/usr/bin/env bash
set -ex
DOC_DIR=../Documentation
LINKCHECK_OUTPUT=$DOC_DIR/_build/linkcheck/output.txt
if [ -z $LINKCHECK ]; then
echo "Skipping linkcheck, run with LINKCHECK=1 to enable"
exit 0
fi
make -C $DOC_DIR clean || true
make -C $DOC_DIR linkcheck || true
if grep "Not Found for url" $LINKCHECK_OUTPUT; then
exit 1
fi
# TODO: also check the README.md
test_succeeded "${TEST_NAME}"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...