crabidy/docs/book.toml

38 lines
959 B
TOML

[book]
authors = ["Hans Mündelein"]
language = "en"
src = "src"
title = "crabidy"
[preprocessor]
[preprocessor.footnote]
before = ["admonish"]
markdown = true
[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "3.1.0" # do not edit: managed by `mdbook-admonish install`
[preprocessor.d2]
path = "d2"
# layout engine for diagrams. See https://github.com/terrastruct/d2#plugins.
# optional. default is "dagre".
layout = "dagre"
# whether to use inline svg when rendering.
# Keep this true for `mdbook serve`: embedded SVG output writes generated files
# under src/<output-dir>, which mdBook watches and rebuilds in a loop.
# optional. default is 'true'
inline = true
# output directory relative to `src/` for generated diagrams.
# This is ignored if 'inline' is 'true'.
# optional. default is "d2".
output-dir = "d2"
[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]
[output.html]
additional-css = ["./mdbook-admonish.css"]