Skip to content

Commit b0c0b07

Browse files
committed
build(docs): add mermaid support for documentation
Add @docusaurus/theme-mermaid dependency and configure docusaurus to enable mermaid diagrams in markdown
1 parent 3e4f971 commit b0c0b07

3 files changed

Lines changed: 18360 additions & 7670 deletions

File tree

docs/docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ const config = {
5151
],
5252
],
5353

54+
themes: ['@docusaurus/theme-mermaid'],
55+
markdown: {
56+
mermaid: true,
57+
},
58+
5459
themeConfig:
5560
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5661
({

0 commit comments

Comments
 (0)