Skip to content

Commit

Permalink
Add mermaid theme and config
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenLm committed Sep 16, 2023
1 parent 0135f8f commit a128c60
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 a128c60

Please sign in to comment.