The Rhai Book serves as Rhai's primary documentation and tutorial resource.
- Install
mdbook
cargo install mdbook
- Install
mdbook-tera
(for templating)
cargo install mdbook-tera
- Run
build
mdbook build
Settings are stored in src/context.json
:
Setting | Description |
---|---|
version |
version of Rhai |
repoHome |
points to the root of the GitHub repo |
rootUrl |
sub-directory for The Book, e.g. /book |