feat(docs): add mermaid diagram support

This commit is contained in:
Igor Loskutov
2025-12-09 14:59:51 -05:00
parent 8db31a493d
commit b340f3c74e
3 changed files with 1250 additions and 1 deletions

View File

@@ -17,6 +17,10 @@ const config: Config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
markdown: {
mermaid: true,
},
i18n: {
defaultLocale: 'en',
locales: ['en'],
@@ -61,7 +65,7 @@ const config: Config = {
],
],
themes: ['docusaurus-theme-openapi-docs'],
themes: ['docusaurus-theme-openapi-docs', '@docusaurus/theme-mermaid'],
themeConfig: {
image: 'img/reflector-social-card.jpg',

1244
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,6 +24,7 @@
"clsx": "^2.0.0",
"docusaurus-plugin-openapi-docs": "^4.5.1",
"docusaurus-theme-openapi-docs": "^4.5.1",
"@docusaurus/theme-mermaid": "3.6.3",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"