Merge pull request #1358 from stevebob/book-linkcheck-pr

Installing and running the linkcheck mdbook backend
This commit is contained in:
Alex Crichton 2019-03-27 08:04:49 -04:00 committed by GitHub
commit 05fbbb2b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -242,16 +242,16 @@ jobs:
- job: doc_book
displayName: "Doc - build the book"
steps:
- template: ci/azure-install-rust.yml
- script: |
mkdir $HOME/mdbook
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
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/mdbook"
which mdbook || cargo install mdbook
which mdbook-linkcheck || cargo install mdbook-linkcheck
displayName: "Install mdbook"
- script: (cd guide && mv _theme theme && mdbook build)
- task: PublishPipelineArtifact@0
inputs:
artifactName: doc_book
targetPath: guide/book
targetPath: guide/book/html
- job: doc_api
displayName: "Doc - build the API documentation"

View File

@ -3,3 +3,6 @@ authors = ["Nick Fitzgerald"]
multilingual = false
src = "src"
title = "The `wasm-bindgen` Guide"
[output.html]
[output.linkcheck]