Skip to content

Commit

Permalink
feat(docs): add @docusaurus/theme-mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed Oct 3, 2024
1 parent f7ad734 commit a42e7a4
Show file tree
Hide file tree
Showing 10 changed files with 783 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ const config: Config = {
darkTheme: prismThemes.dracula,
},
} satisfies Preset.ThemeConfig,
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
};

export default config;
File renamed without changes.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/theme-mermaid": "^3.5.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.0",
Expand Down
778 changes: 778 additions & 0 deletions docs/pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit a42e7a4

Please sign in to comment.