mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 14:12:13 +00:00
Installing and running the linkcheck mdbook backend
This commit is contained in:
parent
185c2b66fa
commit
47f3247a0e
@ -232,15 +232,14 @@ jobs:
|
|||||||
displayName: "Doc - build the book"
|
displayName: "Doc - build the book"
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
mkdir $HOME/mdbook
|
which mdbook || cargo install 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
|
which mdbook-linkcheck || cargo install mdbook-linkcheck
|
||||||
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/mdbook"
|
|
||||||
displayName: "Install mdbook"
|
displayName: "Install mdbook"
|
||||||
- script: (cd guide && mv _theme theme && mdbook build)
|
- script: (cd guide && mv _theme theme && mdbook build)
|
||||||
- task: PublishPipelineArtifact@0
|
- task: PublishPipelineArtifact@0
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: doc_book
|
artifactName: doc_book
|
||||||
targetPath: guide/book
|
targetPath: guide/book/html
|
||||||
|
|
||||||
- job: doc_api
|
- job: doc_api
|
||||||
displayName: "Doc - build the API documentation"
|
displayName: "Doc - build the API documentation"
|
||||||
|
@ -3,3 +3,6 @@ authors = ["Nick Fitzgerald"]
|
|||||||
multilingual = false
|
multilingual = false
|
||||||
src = "src"
|
src = "src"
|
||||||
title = "The `wasm-bindgen` Guide"
|
title = "The `wasm-bindgen` Guide"
|
||||||
|
|
||||||
|
[output.html]
|
||||||
|
[output.linkcheck]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user