mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:17:32 +00:00
docs(config): Add mermaid diagram support (#10357)
# Which Problems Are Solved #7573 # How the Problems Are Solved Enabled mermaid support in the current version: https://docusaurus.io/docs/next/markdown-features/diagrams # Additional Changes # Additional Context test by adding to a page: ```mermaid graph TD; A-->B; A-->C; B-->D; C-->D; ```
This commit is contained in:
@@ -23,6 +23,7 @@ module.exports = {
|
|||||||
description:
|
description:
|
||||||
"Documentation for ZITADEL - Identity infrastructure, simplified for you.",
|
"Documentation for ZITADEL - Identity infrastructure, simplified for you.",
|
||||||
},
|
},
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
metadata: [
|
metadata: [
|
||||||
{
|
{
|
||||||
@@ -450,9 +451,13 @@ module.exports = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
markdown: {
|
||||||
|
mermaid:true,
|
||||||
|
},
|
||||||
themes: [
|
themes: [
|
||||||
"docusaurus-theme-github-codeblock",
|
"docusaurus-theme-github-codeblock",
|
||||||
"docusaurus-theme-openapi-docs",
|
"docusaurus-theme-openapi-docs",
|
||||||
|
'@docusaurus/theme-mermaid',
|
||||||
],
|
],
|
||||||
future: {
|
future: {
|
||||||
v4: false, // Disabled because of some problems related to https://github.com/facebook/docusaurus/issues/11040
|
v4: false, // Disabled because of some problems related to https://github.com/facebook/docusaurus/issues/11040
|
||||||
|
Reference in New Issue
Block a user