[book] title = "Kuatia" description = "An append-only, auditable, multi-asset UTXO-style ledger." language = "en" src = "doc" # `create-missing` off because the default quietly writes an empty chapter for a # SUMMARY entry that names nothing, which is the one mistake a build check # exists to catch. [build] build-dir = "target/book" create-missing = false [output.html] git-repository-url = "https://github.com/crodas/kuatia" # `{path}` already carries the source directory, so it is not repeated here. edit-url-template = "https://github.com/crodas/kuatia/edit/master/{path}" additional-js = ["theme/mermaid.min.js", "theme/mermaid-init.js"] [output.html.fold] enable = true level = 1 [preprocessor.mermaid] command = "mdbook-mermaid" # mdBook renders a chapter sourced from `README.md` as its directory's # `index.html`, but rewrites a link naming that file to `README.html`. The # source has to keep the name GitHub renders for a directory, so the book # redirects the path the rewrite produces. [output.html.redirect] "/adr/README.html" = "index.html" "/examples/README.html" = "index.html"