Skip to content

Commit

Permalink
Merge pull request #390 from stephanbcbauer/main
Browse files Browse the repository at this point in the history
docs(general): activate mermaid functionality in markdown
  • Loading branch information
Siegfriedk authored Sep 15, 2023
2 parents 5835fcb + 7fee1ea commit 961c8a1
Show file tree
Hide file tree
Showing 3 changed files with 1,055 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const config = {
onBrokenMarkdownLinks: 'warn',
favicon: 'img/logo_tractus-x-min.ico',

markdown: {
mermaid: true,
},

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'eclipse-tractusx', // Usually your GitHub org/user name.
Expand Down Expand Up @@ -268,7 +272,7 @@ const config = {
],
],

themes: ["docusaurus-theme-openapi-docs"], // Allows use of @theme/ApiItem and other components
themes: ["docusaurus-theme-openapi-docs", "@docusaurus/theme-mermaid"], // Allows use of @theme/ApiItem and other components

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down
Loading

0 comments on commit 961c8a1

Please sign in to comment.