linkchecker tool now visits the URL to determine if it's valid

This commit is contained in:
Chao Xu
2016-01-09 17:03:39 -08:00
parent 3328cfe1c5
commit 3ec4cd423e
8 changed files with 157 additions and 51 deletions

View File

@@ -122,16 +122,6 @@ else
fi
echo "${reset}"
echo -ne "Checking for links in API descriptions... "
if ! hack/after-build/verify-linkcheck.sh > /dev/null; then
echo "${red}ERROR!"
echo "Some links in pkg/api/.*types.go are outdated. They require a manual fix."
exit_code=1
else
echo "${green}OK"
fi
echo "${reset}"
echo -ne "Checking for docs that need updating... "
if ! hack/after-build/verify-generated-docs.sh > /dev/null; then
echo "${red}ERROR!"