imp(docs): manage`cargo-mdbook` as a GitHub action (#4636)
* imp(docs): manage`cargo-mdbook` as a GitHub action * fix(docs): keep mdbook-mermaid
This commit is contained in:
parent
e5c92084ba
commit
e1a7a305d2
|
@ -37,9 +37,14 @@ jobs:
|
|||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- name: Setup mdBook
|
||||
uses: peaceiris/actions-mdbook@v1.1.14
|
||||
with:
|
||||
mdbook-version: '0.4.18'
|
||||
|
||||
# TODO: actions-mdbook does not yet have an option to install mdbook-mermaid https://github.com/peaceiris/actions-mdbook/issues/426
|
||||
- name: Install mdbook
|
||||
run: |
|
||||
cargo install mdbook
|
||||
cargo install mdbook-mermaid
|
||||
|
||||
- name: Build Zebra book
|
||||
|
|
Loading…
Reference in New Issue