mirror of
https://github.com/rust-lang/cargo.git
synced 2026-01-17 16:51:21 +00:00
Update to mdbook 0.5
Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-051
This commit is contained in:
parent
19678fce85
commit
6cf360061e
5
.github/workflows/contrib.yml
vendored
5
.github/workflows/contrib.yml
vendored
@ -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: |
|
||||
|
||||
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user