Skip to content

Commit ffed6af

Browse files
authored
Rollup merge of rust-lang#78059 - JohnTitor:fix-linkcheck, r=ehuss
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.
2 parents ed79320 + 28f350e commit ffed6af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/linkchecker/linkcheck.sh

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ then
3434
exit 1
3535
fi
3636

37+
# Avoid failure caused by newer mdbook.
38+
export MDBOOK_OUTPUT__HTML__INPUT_404=""
39+
3740
book_name=""
3841
# Iterative will avoid cleaning up, so you can quickly run it repeatedly.
3942
iterative=0

0 commit comments

Comments
 (0)