Skip to content

Commit 7bcbee2

Browse files
committed
add @docusaurus/theme-mermaid dependency to package.json
1 parent 3045ebe commit 7bcbee2

3 files changed

Lines changed: 1339 additions & 106 deletions

File tree

website/docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const config: Config = {
112112
onBrokenLinks: 'throw',
113113

114114
markdown: {
115+
mermaid: true,
115116
hooks: {
116117
onBrokenMarkdownLinks: 'throw'
117118
}
@@ -192,7 +193,7 @@ const config: Config = {
192193
} satisfies Preset.Options
193194
]
194195
],
195-
themes: ['docusaurus-theme-openapi-docs'],
196+
themes: ['docusaurus-theme-openapi-docs', '@docusaurus/theme-mermaid'],
196197
themeConfig: {
197198
// SEO metadata configuration
198199
metadata: [

0 commit comments

Comments
 (0)