Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 8be0c30

Browse files
authored
Add linkcheck (#29)
1 parent 8c9c927 commit 8be0c30

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/pages-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ jobs:
2626
mkdir mdbook
2727
curl -sSL $url | tar -xz --directory=./mdbook
2828
echo `pwd`/mdbook >> $GITHUB_PATH
29-
- name: Build Book
29+
- name: Add linkchek and run build Book
3030
run: |
3131
# This assumes your book is in the root of your repository.
3232
# Just add a `cd` here if you need to change to another directory.
33+
cargo install mdbook-linkcheck
3334
mdbook build
3435
- name: Publish
3536
uses: cloudflare/wrangler-action@v3

book.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ preferred-dark-theme = "Ayu"
1414
[output.html.fold]
1515
enable = true # whether or not to enable section folding
1616
level = 1 # the depth to start folding
17+
18+
[output.linkcheck]

0 commit comments

Comments
 (0)