File tree Expand file tree Collapse file tree 3 files changed +6655
-3480
lines changed
Expand file tree Collapse file tree 3 files changed +6655
-3480
lines changed Original file line number Diff line number Diff line change 11// @ts -check
22// Note: type annotations allow type checking and IDEs autocompletion
3-
4- const lightCodeTheme = require ( 'prism-react-renderer/ themes/ github' ) ;
5- const darkCodeTheme = require ( 'prism-react-renderer/ themes/ dracula' ) ;
3+ const { themes } = require ( "prism-react-renderer" )
4+ const lightCodeTheme = themes . github
5+ const darkCodeTheme = themes . dracula
66const simplePlantUML = require ( '@akebifiky/remark-simple-plantuml' ) ;
77
88async function createConfig ( ) {
@@ -43,7 +43,7 @@ async function createConfig() {
4343 sidebarPath : require . resolve ( './sidebars.js' ) ,
4444 editUrl :
4545 'https://github.com/equinor/template-fastapi-react/tree/main/documentation/' ,
46- remarkPlugins : [ mdxMermaid . default , simplePlantUML ] ,
46+ remarkPlugins : [ mdxMermaid . default , simplePlantUML ] ,
4747 } ,
4848 blog : false ,
4949 theme : {
@@ -103,7 +103,7 @@ async function createConfig() {
103103 label : 'Docs' ,
104104 to : '/docs/about/introduction' ,
105105 } ,
106- {
106+ {
107107 label : 'Contribute' ,
108108 to : '/docs/contribute/how-to-start-contributing' ,
109109 } ,
Original file line number Diff line number Diff line change 1616 },
1717 "dependencies" : {
1818 "@akebifiky/remark-simple-plantuml" : " ^1.0.2" ,
19- "@docusaurus/core" : " 2.1 .0" ,
20- "@docusaurus/preset-classic" : " 2.1 .0" ,
21- "@mdx-js/react" : " ^1.6.22 " ,
22- "clsx" : " ^1.2 .1" ,
23- "mdx-mermaid" : " ^1.3.2 " ,
24- "mermaid" : " ^9.1.7 " ,
25- "prism-react-renderer" : " ^1.3.5 " ,
26- "react" : " ^17 .0.2 " ,
27- "react-dom" : " ^17 .0.2 "
19+ "@docusaurus/core" : " 3.7 .0" ,
20+ "@docusaurus/preset-classic" : " 3.7 .0" ,
21+ "@mdx-js/react" : " ^3.1.0 " ,
22+ "clsx" : " ^2.1 .1" ,
23+ "mdx-mermaid" : " ^2.0.3 " ,
24+ "mermaid" : " ^11.4.1 " ,
25+ "prism-react-renderer" : " ^2.4.1 " ,
26+ "react" : " ^19 .0.0 " ,
27+ "react-dom" : " ^19 .0.0 "
2828 },
2929 "devDependencies" : {
30- "@docusaurus/module-type-aliases" : " 2.1 .0" ,
31- "@tsconfig/docusaurus" : " ^1 .0.5 " ,
30+ "@docusaurus/module-type-aliases" : " 3.7 .0" ,
31+ "@tsconfig/docusaurus" : " ^2 .0.3 " ,
3232 "raw-loader" : " ^4.0.2" ,
33- "typescript" : " ^4 .7.4 "
33+ "typescript" : " ^5 .7.3 "
3434 },
3535 "browserslist" : {
3636 "production" : [
You can’t perform that action at this time.
0 commit comments