Skip to content

Commit 2656ed7

Browse files
committed
Work around mdbook-linkcheck2 bug.
It looks in the output.linkcheck section rather than its own.
1 parent 4bbbbbc commit 2656ed7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

book.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,15 @@ use-boolean-and = true
291291
[output.exerciser]
292292
output-directory = "comprehensive-rust-exercises"
293293

294+
[output.linkcheck]
295+
optional = true
296+
follow-web-links = false # change to true to check web links
297+
exclude = [
298+
"comprehensive-rust.pdf",
299+
"comprehensive-rust-exercises.zip",
300+
# "crates.io", # uncomment when follow-web-links is true
301+
]
302+
294303
[output.linkcheck2]
295304
optional = true
296305
follow-web-links = false # change to true to check web links

0 commit comments

Comments
 (0)