diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1299d487..5a945db2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | diff --git a/README.md b/README.md index 1315de59..dac581e9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/book.toml b/book.toml index 057e3938..749fe6fa 100644 --- a/book.toml +++ b/book.toml @@ -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 = [