File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ concurrency:
1111permissions :
1212 contents : read
1313
14+ env :
15+ MDBOOK_VERSION : 0.5.1
16+
1417jobs :
1518 deploy :
1619 permissions :
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 : |
Original file line number Diff line number Diff 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+
1922jobs :
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
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ title = "Cargo Contributor Guide"
33authors = [" Eric Huss" ]
44
55[output .html ]
6- curly-quotes = true # Enable smart-punctuation feature for more than quotes.
76git-repository-url = " https://github.com/rust-lang/cargo/tree/master/src/doc/contrib/src"
87edit-url-template = " https://github.com/rust-lang/cargo/edit/master/src/doc/contrib/{path}"
98search.use-boolean-and = true
You can’t perform that action at this time.
0 commit comments