File tree Expand file tree Collapse file tree 4 files changed +23
-10423
lines changed
Expand file tree Collapse file tree 4 files changed +23
-10423
lines changed Original file line number Diff line number Diff line change 3333 run : |
3434 git config --global user.email "actions@gihub.com"
3535 git config --global user.name "gh-actions"
36- yarn install --ignore-scripts
36+ npm install --ignore-scripts
3737 npm run docs
3838 cd website
39- if [ -e yarn.lock ]; then
40- yarn install --frozen-lockfile
41- elif [ -e package-lock.json ]; then
42- npm ci
43- else
44- npm i
45- fi
46- yarn deploy
39+ npm install
40+ npm run deploy
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ module.exports = {
66 favicon : 'img/favicon.ico' ,
77 organizationName : 'nodegui' , // Usually your GitHub org/user name.
88 projectName : 'nodegui' , // Usually your repo name.
9- onBrokenLinks : " warn" ,
10- onDuplicateRoutes : " warn" ,
9+ onBrokenLinks : ' warn' ,
10+ onDuplicateRoutes : ' warn' ,
1111 themeConfig : {
1212 navbar : {
1313 title : 'NodeGui' ,
@@ -77,11 +77,9 @@ module.exports = {
7777 ] ,
7878 copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } NodeGui` ,
7979 } ,
80- googleAnalytics : {
81- trackingID : 'UA-145065218-1' ,
82- } ,
8380 algolia : {
8481 apiKey : '0baa260ee0052fe6c974714cbf091ae1' ,
82+ appId : 'BH4D9OD16A' ,
8583 indexName : 'nodegui' ,
8684 algoliaOptions : { } , // Optional, if provided by Algolia
8785 } ,
@@ -100,4 +98,12 @@ module.exports = {
10098 } ,
10199 ] ,
102100 ] ,
101+ plugins : [
102+ [
103+ '@docusaurus/plugin-google-analytics' ,
104+ {
105+ trackingID : 'UA-145065218-1' ,
106+ } ,
107+ ] ,
108+ ] ,
103109} ;
Original file line number Diff line number Diff line change 33 "version" : " 0.0.0" ,
44 "private" : true ,
55 "scripts" : {
6- "start" : " node --max_old_space_size=6656 node_modules/@docusaurus/core/bin/ docusaurus start" ,
7- "build" : " node --max_old_space_size=6656 node_modules/@docusaurus/core/bin/ docusaurus build" ,
8- "swizzle" : " node --max_old_space_size=6656 node_modules/@docusaurus/core/bin/ docusaurus swizzle" ,
9- "deploy" : " node --max_old_space_size=6656 node_modules/@docusaurus/core/bin/ docusaurus deploy"
6+ "start" : " docusaurus start" ,
7+ "build" : " docusaurus build" ,
8+ "swizzle" : " docusaurus swizzle" ,
9+ "deploy" : " docusaurus deploy"
1010 },
1111 "dependencies" : {
12- "@docusaurus/core" : " ^2.0.0-alpha.64 " ,
13- "@docusaurus/plugin-google-analytics" : " ^2.0.0-alpha.64 " ,
14- "@docusaurus/preset-classic" : " ^2.0.0-alpha.64 " ,
12+ "@docusaurus/core" : " ^3.x " ,
13+ "@docusaurus/plugin-google-analytics" : " ^3.x " ,
14+ "@docusaurus/preset-classic" : " ^3.x " ,
1515 "classnames" : " ^2.2.6" ,
16- "react" : " ^16.8.4 " ,
17- "react-dom" : " ^16.8.4 " ,
16+ "react" : " ^18.x " ,
17+ "react-dom" : " ^18.x " ,
1818 "styled-components" : " ^4.4.0"
1919 },
2020 "browserslist" : {
You can’t perform that action at this time.
0 commit comments