mirror of https://github.com/vector-im/riot-web
Vendor in Mermaid v10 for frontmatter title support
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/26461/head
parent
197c985332
commit
0fdbbeecf5
|
@ -93,7 +93,6 @@ jobs:
|
|||
cat SUMMARY.md >> docs/SUMMARY.md
|
||||
|
||||
mv element-web/book.toml .
|
||||
mdbook-mermaid install .
|
||||
|
||||
- name: Build docs
|
||||
run: mdbook build
|
||||
|
|
|
@ -28,5 +28,4 @@ electron/pub
|
|||
/src/modules.ts
|
||||
/build_config.yaml
|
||||
/book
|
||||
/mermaid*
|
||||
/index.html
|
||||
|
|
|
@ -24,3 +24,9 @@ git-repository-url = "https://github.com/vector-im/element-web"
|
|||
|
||||
# The path that the docs are hosted on
|
||||
site-url = "/element-web/"
|
||||
additional-js = ["docs/mermaid/mermaid.min.js", "docs/mermaid/mermaid-init.js"]
|
||||
|
||||
[preprocessor]
|
||||
|
||||
[preprocessor.mermaid]
|
||||
command = "mdbook-mermaid"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
mermaid.initialize({ startOnLoad:true });
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue