File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -242,16 +242,16 @@ jobs:
242
242
- job : doc_book
243
243
displayName : " Doc - build the book"
244
244
steps :
245
+ - template : ci/azure-install-rust.yml
245
246
- script : |
246
- mkdir $HOME/mdbook
247
- curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-musl.tar.gz | tar xzf - -C $HOME/mdbook
248
- echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/mdbook"
247
+ which mdbook || cargo install mdbook
248
+ which mdbook-linkcheck || cargo install mdbook-linkcheck
249
249
displayName: "Install mdbook"
250
250
- script : (cd guide && mv _theme theme && mdbook build)
251
251
- task : PublishPipelineArtifact@0
252
252
inputs :
253
253
artifactName : doc_book
254
- targetPath : guide/book
254
+ targetPath : guide/book/html
255
255
256
256
- job : doc_api
257
257
displayName : " Doc - build the API documentation"
Original file line number Diff line number Diff line change @@ -3,3 +3,6 @@ authors = ["Nick Fitzgerald"]
3
3
multilingual = false
4
4
src = " src"
5
5
title = " The `wasm-bindgen` Guide"
6
+
7
+ [output .html ]
8
+ [output .linkcheck ]
You can’t perform that action at this time.
0 commit comments