Skip to content

Commit

Permalink
Merge pull request #14 from SudoMagicCode/docusaurus-upgrades/mermaid…
Browse files Browse the repository at this point in the history
…-graphs

Adds mermaid graphs
  • Loading branch information
raganmd authored Dec 7, 2023
2 parents 305af01 + 2c9f1b8 commit 7eb7813
Show file tree
Hide file tree
Showing 3 changed files with 731 additions and 9 deletions.
9 changes: 8 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ const config = {
locales: ['en'],
},

markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],

plugins: [
[
require.resolve("@cmfcmf/docusaurus-search-local"),
Expand Down Expand Up @@ -108,7 +113,8 @@ const config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} SudoMagic, LLC. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()
} SudoMagic, LLC.Built with Docusaurus.`,
},
prism: {
theme: prismThemes.oneLight,
Expand All @@ -118,4 +124,5 @@ const config = {
}),
};


module.exports = config;
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 @@
"@cmfcmf/docusaurus-search-local": "^1.1.0",
"@docusaurus/core": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/theme-mermaid": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^2.1.0",
Expand Down
Loading

0 comments on commit 7eb7813

Please sign in to comment.