Skip to content

Commit

Permalink
Rollup merge of #78059 - JohnTitor:fix-linkcheck, r=ehuss
Browse files Browse the repository at this point in the history
Set `MDBOOK_OUTPUT__HTML__INPUT_404` on linkchecker

This is found in rust-lang/nomicon#240.
It seems the spurious failure shows up without this flag.
  • Loading branch information
JohnTitor authored Oct 17, 2020
2 parents ed79320 + 28f350e commit ffed6af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/linkchecker/linkcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ then
exit 1
fi

# Avoid failure caused by newer mdbook.
export MDBOOK_OUTPUT__HTML__INPUT_404=""

book_name=""
# Iterative will avoid cleaning up, so you can quickly run it repeatedly.
iterative=0
Expand Down

0 comments on commit ffed6af

Please sign in to comment.