aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2023-01-30 22:18:36 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:39 +0100
commitd3cadac90b109510ced86c585b57c35493d3fa2a (patch)
treee270b1736b83c498f29b96455e60fe19b1f72787
parent274de31a78a47b4391987e9951e6d7cef56fb0d2 (diff)
Book: Enable mermaid for mdbook
-rw-r--r--book/en/book.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/book/en/book.toml b/book/en/book.toml
index 98c5bf3..e134c29 100644
--- a/book/en/book.toml
+++ b/book/en/book.toml
@@ -4,6 +4,10 @@ multilingual = false
src = "src"
title = "Real-Time Interrupt-driven Concurrency"
+[preprocessor.mermaid]
+command = "mdbook-mermaid"
+
[output.html]
git-repository-url = "https://github.com/rtic-rs/cortex-m-rtic"
git-repository-icon = "fa-github"
+additional-js = ["mermaid.min.js", "mermaid-init.js"]