Skip to content

Commit a2b58c3

Browse files
committed
Auto merge of #14257 - weihanglo:ci-tool, r=epage
chore(ci): bump CI tools ### What does this PR try to resolve? * Bump cargo-semver-checks to 0.32.0, which supports rustdoc JSON format v30 * Bump mdbook to 0.4.40, and change `curly-quotes` to `smart-punctuation` ### How should we test and review this PR? Wait for CI green. ### Additional information
2 parents 7b227de + 12d00dc commit a2b58c3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/contrib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install mdbook
2424
run: |
2525
mkdir mdbook
26-
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
26+
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
2727
echo `pwd`/mdbook >> $GITHUB_PATH
2828
- name: Deploy docs
2929
run: |

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: Install cargo-semver-checks
112112
run: |
113113
mkdir installed-bins
114-
curl -Lf https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.31.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz \
114+
curl -Lf https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.32.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz \
115115
| tar -xz --directory=./installed-bins
116116
echo `pwd`/installed-bins >> $GITHUB_PATH
117117
- run: ci/validate-version-bump.sh
@@ -260,7 +260,7 @@ jobs:
260260
- name: Install mdbook
261261
run: |
262262
mkdir mdbook
263-
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
263+
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
264264
echo `pwd`/mdbook >> $GITHUB_PATH
265265
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
266266
- name: Run linkchecker.sh

src/doc/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "The Cargo Book"
33
author = "Alex Crichton, Steve Klabnik and Carol Nichols, with contributions from the Rust community"
44

55
[output.html]
6-
curly-quotes = true # Enable smart-punctuation feature for more than quotes.
6+
smart-punctuation = true # Enable smart-punctuation feature for more than quotes.
77
git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/src"
88
edit-url-template = "https://github.com/rust-lang/cargo/edit/master/src/doc/{path}"
99
search.use-boolean-and = true

0 commit comments

Comments
 (0)