Update to mdbook 0.5

Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-051
This commit is contained in:
Eric Huss 2025-11-22 13:13:29 -08:00
parent 19678fce85
commit 6cf360061e
3 changed files with 8 additions and 3 deletions

View File

@ -11,6 +11,9 @@ concurrency:
permissions:
contents: read
env:
MDBOOK_VERSION: 0.5.1
jobs:
deploy:
permissions:
@ -23,7 +26,7 @@ jobs:
- name: Install mdbook
run: |
mkdir mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.52/mdbook-v0.4.52-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Deploy docs
run: |

View File

@ -16,6 +16,9 @@ concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
env:
MDBOOK_VERSION: 0.5.1
jobs:
conclusion:
needs:
@ -290,7 +293,7 @@ jobs:
- name: Install mdbook
run: |
mkdir mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.52/mdbook-v0.4.52-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
- name: Run linkchecker.sh

View File

@ -3,7 +3,6 @@ title = "Cargo Contributor Guide"
authors = ["Eric Huss"]
[output.html]
curly-quotes = true # Enable smart-punctuation feature for more than quotes.
git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/contrib/src"
edit-url-template = "https://github.com/rust-lang/cargo/edit/master/src/doc/contrib/{path}"
search.use-boolean-and = true