[ https://issues.apache.org/jira/browse/FLINK-5751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868981#comment-15868981 ]
Patrick Lucas commented on FLINK-5751: -------------------------------------- Opened a PR fixing as many broken links as I could find using this method. The script I used: {code} #!/bin/bash -x # Don't abort on any non-zero exit code #set +e # Crawl the docs, ignoring robots.txt, storing nothing locally wget --spider -r -nd -nv -e robots=off -p -o spider.log http://localhost/flink-docs # Abort for anything other than 0 and 4 ("Network failure") status=$? if [ $status -ne 0 ] && [ $status -ne 4 ]; then exit $status fi # Fail the build if any broken links are found broken_links_str=$(grep -e 'Found [[:digit:]]\+ broken link' spider.log) echo -e "\e[1;31m$broken_links_str\e[0m" if [ -n "$broken_links_str" ]; then exit 1 fi {code} > 404 in documentation > -------------------- > > Key: FLINK-5751 > URL: https://issues.apache.org/jira/browse/FLINK-5751 > Project: Flink > Issue Type: Bug > Components: Documentation > Reporter: Colin Breame > Priority: Trivial > > This page: > https://ci.apache.org/projects/flink/flink-docs-release-1.2/quickstart/setup_quickstart.html > Contains a link with title "Flink on Windows" with URL: > - > https://ci.apache.org/projects/flink/flink-docs-release-1.2/setup/flink_on_windows > This gives a 404. It should be: > - > https://ci.apache.org/projects/flink/flink-docs-release-1.2/setup/flink_on_windows.html -- This message was sent by Atlassian JIRA (v6.3.15#6346)