This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +334
-2633
lines changed Expand file tree Collapse file tree 3 files changed +334
-2633
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ const config = {
33
33
defaultLocale : "en" ,
34
34
locales : [ "en" ] ,
35
35
} ,
36
+
37
+ markdown : {
38
+ mermaid : true ,
39
+ } ,
36
40
37
41
// Plugins we added
38
42
plugins : [
@@ -58,9 +62,6 @@ const config = {
58
62
] ,
59
63
] ,
60
64
61
- // Only for react live
62
- themes : [ "@docusaurus/theme-live-codeblock" ] ,
63
-
64
65
// The classic preset will relay each option entry to the respective sub plugin/theme.
65
66
presets : [
66
67
[
@@ -170,6 +171,8 @@ const config = {
170
171
respectPrefersColorScheme : false ,
171
172
} ,
172
173
} ) ,
174
+ // Only for react live
175
+ themes : [ "@docusaurus/theme-live-codeblock" , "@docusaurus/theme-mermaid" ] ,
173
176
} ;
174
177
175
178
module . exports = config ;
Original file line number Diff line number Diff line change 17
17
"@docusaurus/core" : " ^2.4.3" ,
18
18
"@docusaurus/preset-classic" : " ^2.4.3" ,
19
19
"@docusaurus/theme-live-codeblock" : " ^2.4.3" ,
20
- "@docusaurus/theme-mermaid" : " ^3.0.0 " ,
20
+ "@docusaurus/theme-mermaid" : " ^2.4.3 " ,
21
21
"@headlessui/react" : " ^1.7.17" ,
22
22
"@heroicons/react" : " ^2.0.18" ,
23
23
"@mdx-js/react" : " ^1.6.22" ,
24
24
"autoprefixer" : " ^10.4.16" ,
25
25
"axios" : " ^1.5.1" ,
26
26
"clsx" : " ^1.2.1" ,
27
+ "@docusaurus/plugin-content-docs" : " 2.4.3" ,
27
28
"docusaurus-plugin-redoc" : " ^2.0.0" ,
28
29
"docusaurus-plugin-sass" : " ^0.2.5" ,
29
30
"docusaurus-theme-redoc" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments