From 28f350e320c6a4b3b7939d7b7f030806bb607023 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 18 Oct 2020 02:30:08 +0900 Subject: [PATCH] Set `MDBOOK_OUTPUT__HTML__INPUT_404` on linkchecker --- src/tools/linkchecker/linkcheck.sh | 3 +++ 1 file changed, 3 insertions(+) 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