File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 22
33name : Deploy To Site
44
5- # Controls when the action will run.
5+ # Controls when the action will run.
66on :
77 # Triggers the workflow on push or pull request events but only for the master branch
88 push :
9- branches : [ master, next ]
9+ branches : [master, next]
1010
1111# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212jobs :
@@ -24,13 +24,13 @@ jobs:
2424
2525 - uses : actions/setup-node@v4
2626 with :
27- node-version : ' 18.19.0 '
27+ node-version : " 20.0 "
2828
2929 - run : yarn install
3030 - run : yarn build
3131
3232 - uses : docker/setup-buildx-action@v1
33- - uses : docker/login-action@v1
33+ - uses : docker/login-action@v1
3434 with :
3535 username : ${{ secrets.REGISTRY_USERNAME }}
3636 password : ${{ secrets.REGISTRY_TOKEN }}
6060 crawler-api-key : ${{ secrets.CRAWLER_API_KEY }}
6161 algolia-app-id : ${{ secrets.ALGOLIA_APP_ID }}
6262 algolia-api-key : ${{ secrets.ALGOLIA_API_KEY }}
63- site-url : ' https://docs.dhtmlx.com/diagram/'
64- crawler-name : ' Diagram Docs Crawler'
65- override-config : true
63+ site-url : " https://docs.dhtmlx.com/diagram/"
64+ crawler-name : " Diagram Docs Crawler"
65+ override-config : true
Original file line number Diff line number Diff line change @@ -132,13 +132,18 @@ module.exports = {
132132 onBrokenLinks : 'warn' ,
133133 onBrokenMarkdownLinks : 'warn' ,
134134 onBrokenAnchors : 'warn' ,
135- //onBrokenLinks: 'ignore', // !!! TODO, make to warn before release
136- //onBrokenAnchors: 'ignore', // !!! TODO, make to warn before release
137- onBrokenMarkdownLinks : 'ignore' ,
135+ // onBrokenLinks: 'ignore', // !!! TODO, make to warn before release
136+ // onBrokenAnchors: 'ignore', // !!! TODO, make to warn before release
137+ // onBrokenMarkdownLinks: 'warn', // deprecated in v3.9.1
138138 favicon : 'img/favicon.ico' ,
139139 organizationName : 'DHTMLX' , // Usually your GitHub org/user name
140140 projectName : 'docs-diagram' , // Usually your repo name
141141 trailingSlash : true ,
142+ markdown : {
143+ hooks : {
144+ onBrokenMarkdownLinks : 'warn' ,
145+ }
146+ } ,
142147 themeConfig : {
143148 /*colorMode: {
144149 // "light" | "dark"
Original file line number Diff line number Diff line change 1313 "normalizeLink" : " cd plugins && node samplesLinksNormalize.js"
1414 },
1515 "dependencies" : {
16- "@docusaurus/core" : " ^3.8 .1" ,
17- "@docusaurus/preset-classic" : " ^3.8 .1" ,
16+ "@docusaurus/core" : " ^3.9 .1" ,
17+ "@docusaurus/preset-classic" : " ^3.9 .1" ,
1818 "@mdx-js/react" : " ^3.0.0" ,
1919 "@svgr/webpack" : " ^5.5.0" ,
2020 "clsx" : " ^1.1.1" ,
3737 ]
3838 },
3939 "devDependencies" : {
40- "@docusaurus/module-type-aliases" : " ^3.7.0 " ,
41- "@docusaurus/types" : " ^3.7.0 " ,
40+ "@docusaurus/module-type-aliases" : " ^3.9.1 " ,
41+ "@docusaurus/types" : " ^3.9.1 " ,
4242 "dhx-md-data-parser" : " file:local_modules/dhx-md-data-parser" ,
4343 "docusaurus-plugin-sass" : " ^0.2.5" ,
4444 "webpack-cli" : " ^4.4.0"
4545 },
4646 "engines" : {
47- "node" : " >=18 .0"
47+ "node" : " >=20 .0"
4848 }
4949}
You can’t perform that action at this time.
0 commit comments