Skip to content

Commit

Permalink
Add mermaid theme and config (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenLm authored Sep 16, 2023
1 parent 0135f8f commit 494910b
Show file tree
Hide file tree
Showing 3 changed files with 1,074 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const config = {
favicon: 'img/favicon.ico',
organizationName: 'jappuccini',
projectName: 'java-docs',

markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
i18n: {
defaultLocale: 'de',
locales: ['de'],
Expand Down Expand Up @@ -42,6 +45,12 @@ const config = {

themeConfig:
({
mermaid: {
theme: {
light: "default",
dark: "dark"
},
},
navbar: {
title: 'Startseite',
logo: {
Expand Down
Loading

0 comments on commit 494910b

Please sign in to comment.