1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-28 05:07:39 +02:00

Use mdbook-linkcheck2.

mdbook-linkcheck hasn't had a release in 2 years and doesn't support
Rust 2024 edition.
This commit is contained in:
Andrew Walbran 2025-04-23 11:53:32 +01:00
parent 7632c9990f
commit 5dcf142a45
3 changed files with 4 additions and 4 deletions

View File

@ -161,9 +161,9 @@ jobs:
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
msgfmt -o /dev/null --statistics po/messages.pot
- name: Install mdbook-linkcheck
- name: Install mdbook-linkcheck2
if: contains(fromJSON(env.LINK_CHECKED_LANGUAGES), matrix.language)
run: cargo install mdbook-linkcheck --locked --version 0.7.7
run: cargo install mdbook-linkcheck2 --locked --version 0.9.1
- name: Build ${{ matrix.language }} translation
run: |

View File

@ -57,7 +57,7 @@ The course is built using a few tools:
- [mdbook-course](mdbook-course/)
In addition,
[mdbook-linkcheck](https://github.com/Michael-F-Bryan/mdbook-linkcheck) checks
[mdbook-linkcheck2](https://github.com/marxin/mdbook-linkcheck2) checks
the internal links.
First install Rust by following the instructions on https://rustup.rs/. Then

View File

@ -291,7 +291,7 @@ use-boolean-and = true
[output.exerciser]
output-directory = "comprehensive-rust-exercises"
[output.linkcheck]
[output.linkcheck2]
optional = true
follow-web-links = false # change to true to check web links
exclude = [