Details about our mdBook setup.
To install cargo, run the following command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shTo install mdBook, run the following command:
# Install mdbook v0.4.52 (required for mdbook-embedify compatibility)
cargo install mdbook --version 0.4.52Install required preprocessors:
cargo install mdbook-mermaid
cargo install mdbook-embedifyTo build the book, run the following command:
mdbook buildTo serve the book, run the following command:
npx serve book -p 3000The configuration file is located at book.toml.
We've enabled the following features:
- Giscus: To enable comments on the book. See mdbook-embedify for more details.
- Mermaid: To enable diagrams in the book. See mdbook-mermaid for more details.
Deployment is handled by GitHub Actions. See: https://github.com/rust-lang/mdBook/blob/master/.github/workflows/deploy.yml