about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/.github/workflows
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-12-30 01:22:22 -0800
committerGitHub <noreply@github.com>2024-12-30 17:22:22 +0800
commitcc9a6fa552069b0e69b6bfaa02cc39d2ee19625a (patch)
treeb57cde6f971e31e7381f186d9f0e83256da70fb9 /src/doc/rustc-dev-guide/.github/workflows
parent6a8c200e6c4866bc5a80c9905916b8d875989c04 (diff)
downloadrust-cc9a6fa552069b0e69b6bfaa02cc39d2ee19625a.tar.gz
rust-cc9a6fa552069b0e69b6bfaa02cc39d2ee19625a.zip
Opt into, rather than out of, linkcheck (#2180)
This makes it less of a hassle to render the book locally.
Diffstat (limited to 'src/doc/rustc-dev-guide/.github/workflows')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/ci.yml b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
index f7bfb77a33e..07c20d8d88b 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
@@ -57,7 +57,7 @@ jobs:
           cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}
 
       - name: Check build
-        run: mdbook build
+        run: ENABLE_LINKCHECK=1 mdbook build
 
       - name: Deploy to gh-pages
         if: github.event_name == 'push'