mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 06:02:13 +00:00
Merge pull request #1358 from stevebob/book-linkcheck-pr
Installing and running the linkcheck mdbook backend
This commit is contained in:
commit
05fbbb2b92
@ -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"
|
||||
|
@ -3,3 +3,6 @@ authors = ["Nick Fitzgerald"]
|
||||
multilingual = false
|
||||
src = "src"
|
||||
title = "The `wasm-bindgen` Guide"
|
||||
|
||||
[output.html]
|
||||
[output.linkcheck]
|
||||
|
Loading…
x
Reference in New Issue
Block a user