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:
parent
7632c9990f
commit
5dcf142a45
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user