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 = {
3333 defaultLocale : "en" ,
3434 locales : [ "en" ] ,
3535 } ,
36+
37+ markdown : {
38+ mermaid : true ,
39+ } ,
3640
3741 // Plugins we added
3842 plugins : [
@@ -58,9 +62,6 @@ const config = {
5862 ] ,
5963 ] ,
6064
61- // Only for react live
62- themes : [ "@docusaurus/theme-live-codeblock" ] ,
63-
6465 // The classic preset will relay each option entry to the respective sub plugin/theme.
6566 presets : [
6667 [
@@ -170,6 +171,8 @@ const config = {
170171 respectPrefersColorScheme : false ,
171172 } ,
172173 } ) ,
174+ // Only for react live
175+ themes : [ "@docusaurus/theme-live-codeblock" , "@docusaurus/theme-mermaid" ] ,
173176} ;
174177
175178module . exports = config ;
Original file line number Diff line number Diff line change 1717 "@docusaurus/core" : " ^2.4.3" ,
1818 "@docusaurus/preset-classic" : " ^2.4.3" ,
1919 "@docusaurus/theme-live-codeblock" : " ^2.4.3" ,
20- "@docusaurus/theme-mermaid" : " ^3.0.0 " ,
20+ "@docusaurus/theme-mermaid" : " ^2.4.3 " ,
2121 "@headlessui/react" : " ^1.7.17" ,
2222 "@heroicons/react" : " ^2.0.18" ,
2323 "@mdx-js/react" : " ^1.6.22" ,
2424 "autoprefixer" : " ^10.4.16" ,
2525 "axios" : " ^1.5.1" ,
2626 "clsx" : " ^1.2.1" ,
27+ "@docusaurus/plugin-content-docs" : " 2.4.3" ,
2728 "docusaurus-plugin-redoc" : " ^2.0.0" ,
2829 "docusaurus-plugin-sass" : " ^0.2.5" ,
2930 "docusaurus-theme-redoc" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments