Skip to content

Commit 094c924

Browse files
[dev] Update doc engine to v3.9.1 and node to v20
1 parent 92d5fe2 commit 094c924

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Deploy To Site
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
9-
branches: [ master, next, test ]
9+
branches: [master, next, test]
1010

1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:
@@ -24,7 +24,7 @@ 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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@
1818
npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
21+
.yarn/install-state.gz
22+
.yarnrc.yml

docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,17 @@ const config = {
137137
url: 'https://docs.dhtmlx.com',
138138
baseUrl: '/eventcalendar/',
139139
onBrokenLinks: 'warn',
140-
onBrokenMarkdownLinks: 'warn',
140+
//onBrokenMarkdownLinks: 'warn', // deprecated in v3.9.1
141141
onBrokenAnchors: 'warn',
142142
favicon: 'img/favicon.ico',
143143
organizationName: 'DHTMLX', // Usually your GitHub org/user name.
144144
projectName: 'docs-calendar', // Usually your repo name.
145145
trailingSlash: true,
146+
markdown: {
147+
hooks: {
148+
onBrokenMarkdownLinks: 'warn',
149+
}
150+
},
146151
presets: [
147152
[
148153
'@docusaurus/preset-classic',

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
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
"@easyops-cn/docusaurus-search-local": "^0.48.4",
1919
"@mdx-js/react": "^3.0.0",
2020
"@svgr/webpack": "^5.5.0",
@@ -38,13 +38,13 @@
3838
]
3939
},
4040
"devDependencies": {
41-
"@docusaurus/module-type-aliases": "^3.7.0",
42-
"@docusaurus/types": "^3.7.0",
41+
"@docusaurus/module-type-aliases": "^3.9.1",
42+
"@docusaurus/types": "^3.9.1",
4343
"dhx-md-data-parser": "file:local_modules/dhx-md-data-parser",
4444
"docusaurus-plugin-sass": "^0.2.5",
4545
"webpack-cli": "^4.4.0"
4646
},
4747
"engines": {
48-
"node": ">=18.0"
48+
"node": ">=20.0"
4949
}
5050
}

0 commit comments

Comments
 (0)