Skip to content

Commit

Permalink
add mermaid to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
leonfuss committed Apr 19, 2024
1 parent c4823e7 commit b8e71c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
doc:
test -d bin || mkdir bin
test -f bin/mdbook || curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.27/mdbook-v0.4.27-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
bin/mdbook build docs --open
test -d $HOME/.cargo/bin || mkdir -p $HOME/.cargo/bin
test -f $HOME/.cargo/bin/mdbook-mermaid || curl -sSL https://github.com/badboy/mdbook-mermaid/releases/download/v0.13.0/mdbook-mermaid-v0.13.0-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C $HOME/.cargo/bin
bin/mdbook build docs --open

0 comments on commit b8e71c4

Please sign in to comment.