Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ const config = {
defaultLocale: "en",
locales: ["en"],
},

markdown: {
mermaid: true,
},

// Plugins we added
plugins: [
Expand All @@ -58,7 +62,7 @@ const config = {
],
],

themes: ["@docusaurus/theme-live-codeblock"],


// The classic preset will relay each option entry to the respective sub plugin/theme.
presets: [
Expand Down Expand Up @@ -173,6 +177,7 @@ const config = {
respectPrefersColorScheme: false,
},
},
themes: ["@docusaurus/theme-live-codeblock", "@docusaurus/theme-mermaid"],
};

module.exports = config;
module.exports = config;
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"autoprefixer": "^10.4.16",
"axios": "^1.5.1",
"clsx": "^1.2.1",
"@docusaurus/plugin-content-docs": "2.4.3",
"docusaurus-plugin-redoc": "^2.0.0",
"docusaurus-plugin-sass": "^0.2.5",
"docusaurus-theme-redoc": "^2.0.0",
Expand Down Expand Up @@ -58,4 +59,4 @@
"engines": {
"node": ">=16.14"
}
}
}
Loading