Skip to content

Commit

Permalink
Update mdbook install
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jun 19, 2019
1 parent d71ab78 commit b7b92cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -252,8 +252,9 @@ jobs:
steps:
- template: ci/azure-install-rust.yml
- script: |
which mdbook || cargo install mdbook
which mdbook-linkcheck || cargo install mdbook-linkcheck
set -e
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 -
echo "##vso[task.prependpath]$PWD"
displayName: "Install mdbook"
- script: (cd guide && mv _theme theme && mdbook build)
- task: PublishPipelineArtifact@0
Expand Down
4 changes: 3 additions & 1 deletion guide/book.toml
Expand Up @@ -4,5 +4,7 @@ multilingual = false
src = "src"
title = "The `wasm-bindgen` Guide"

[build]
build-dir = "book/html"

[output.html]
[output.linkcheck]

0 comments on commit b7b92cf

Please sign in to comment.