doc: add missing mermaid.js to mdbook

This commit is contained in:
x
2022-10-25 09:04:01 +00:00
parent cd07f3cbe3
commit 4d5bf09f2a
3 changed files with 6 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ copy-fonts = true
default-theme = "ayu"
preferred-dark-theme = "ayu"
theme = "theme"
additional-js = ["mermaid.min.js", "mermaid-init.js"]
additional-js = ["theme/mermaid.min.js", "theme/mermaid-init.js"]
[output.html.playground]
runnable = false

1
doc/theme/mermaid-init.js vendored Normal file
View File

@@ -0,0 +1 @@
mermaid.initialize({startOnLoad:true});

4
doc/theme/mermaid.min.js vendored Normal file

File diff suppressed because one or more lines are too long