diff --git a/hack/verify-linkcheck.sh b/hack/verify-linkcheck.sh index 4639d89e24c..e0315473d74 100755 --- a/hack/verify-linkcheck.sh +++ b/hack/verify-linkcheck.sh @@ -14,6 +14,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +# This script extracts the links from types.go and .md files in pkg/api/, +# pkg/apis/ and docs/ directories, checks the status code of the response, and +# output the list of invalid links. +# Usage: hack/verify-linkcheck.sh + set -o errexit set -o nounset set -o pipefail