The book can be built and served locally.
cargo install mdbook
Install support for mermaid
diagrams:
cd book
cargo install mdbook-mermaid
mdbook-mermaid install
This will create mermaid.min.js
and mermaid-init.js
files.
Then run the book from the book crate:
mdbook serve --open
Or the project root:
mdbook serve --open ./book