Skip to content

Commit e90598e

Browse files
authored
2 parents bfd5985 + 6cf3600 commit e90598e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/contrib.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
permissions:
1212
contents: read
1313

14+
env:
15+
MDBOOK_VERSION: 0.5.1
16+
1417
jobs:
1518
deploy:
1619
permissions:
@@ -23,7 +26,7 @@ jobs:
2326
- name: Install mdbook
2427
run: |
2528
mkdir mdbook
26-
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
29+
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
2730
echo `pwd`/mdbook >> $GITHUB_PATH
2831
- name: Deploy docs
2932
run: |

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ concurrency:
1616
group: "${{ github.workflow }}-${{ github.ref }}"
1717
cancel-in-progress: true
1818

19+
env:
20+
MDBOOK_VERSION: 0.5.1
21+
1922
jobs:
2023
conclusion:
2124
needs:
@@ -290,7 +293,7 @@ jobs:
290293
- name: Install mdbook
291294
run: |
292295
mkdir mdbook
293-
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
296+
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
294297
echo `pwd`/mdbook >> $GITHUB_PATH
295298
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
296299
- name: Run linkchecker.sh

src/doc/contrib/book.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title = "Cargo Contributor Guide"
33
authors = ["Eric Huss"]
44

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

0 commit comments

Comments
 (0)