about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-18 04:11:15 +0900
committerGitHub <noreply@github.com>2020-10-18 04:11:15 +0900
commitffed6af8fdfb5ff2e906f6b1c9dea8ec1d2cfeb8 (patch)
tree249b69ecfb1efdaa45591c5643691f42c129f2fa /src
parented79320c16235ea40e3d902355b80b49c3051339 (diff)
parent28f350e320c6a4b3b7939d7b7f030806bb607023 (diff)
downloadrust-ffed6af8fdfb5ff2e906f6b1c9dea8ec1d2cfeb8.tar.gz
rust-ffed6af8fdfb5ff2e906f6b1c9dea8ec1d2cfeb8.zip
Rollup merge of #78059 - JohnTitor:fix-linkcheck, r=ehuss
Set `MDBOOK_OUTPUT__HTML__INPUT_404` on linkchecker

This is found in https://github.com/rust-lang/nomicon/pull/240.
It seems the spurious failure shows up without this flag.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/linkchecker/linkcheck.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/linkchecker/linkcheck.sh b/src/tools/linkchecker/linkcheck.sh
index bbccc17e494..b68053c76be 100755
--- a/src/tools/linkchecker/linkcheck.sh
+++ b/src/tools/linkchecker/linkcheck.sh
@@ -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