Skip to content

Commit b7b92cf

Browse files
committed
Update mdbook install
1 parent d71ab78 commit b7b92cf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Diff for: azure-pipelines.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,9 @@ jobs:
252252
steps:
253253
- template: ci/azure-install-rust.yml
254254
- script: |
255-
which mdbook || cargo install mdbook
256-
which mdbook-linkcheck || cargo install mdbook-linkcheck
255+
set -e
256+
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.3.0/mdbook-v0.3.0-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
257+
echo "##vso[task.prependpath]$PWD"
257258
displayName: "Install mdbook"
258259
- script: (cd guide && mv _theme theme && mdbook build)
259260
- task: PublishPipelineArtifact@0

Diff for: guide/book.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ multilingual = false
44
src = "src"
55
title = "The `wasm-bindgen` Guide"
66

7+
[build]
8+
build-dir = "book/html"
9+
710
[output.html]
8-
[output.linkcheck]

0 commit comments

Comments
 (0)