From cc9a6fa552069b0e69b6bfaa02cc39d2ee19625a Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Mon, 30 Dec 2024 01:22:22 -0800 Subject: Opt into, rather than out of, linkcheck (#2180) This makes it less of a hassle to render the book locally. --- src/doc/rustc-dev-guide/ci/linkcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc/rustc-dev-guide/ci') diff --git a/src/doc/rustc-dev-guide/ci/linkcheck.sh b/src/doc/rustc-dev-guide/ci/linkcheck.sh index 9b06f67fc9f..e5184839be0 100755 --- a/src/doc/rustc-dev-guide/ci/linkcheck.sh +++ b/src/doc/rustc-dev-guide/ci/linkcheck.sh @@ -9,7 +9,7 @@ set_github_token() { jq '.config.output.linkcheck."http-headers"."github\\.com" = ["Authorization: Bearer $GITHUB_TOKEN"]' } -if [ ! -z "$SKIP_LINKCHECK" ] ; then +if [ -z "$ENABLE_LINKCHECK" ] ; then echo "Skipping link check." exit 0 fi -- cgit 1.4.1-3-g733a5