Skip to content

Commit 630596a

Browse files
Merge pull request #17 from DHTMLX/next
[dev] Update doc engine to v3.9.1 and node to v20
2 parents b7dfb9f + b62d17a commit 630596a

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
name: Deploy To Site
44

5-
# Controls when the action will run.
5+
# Controls when the action will run.
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
9-
branches: [ master ]
9+
branches: [master]
1010

1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:
@@ -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 }}
@@ -60,6 +60,6 @@ jobs:
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/richtext/'
64-
crawler-name: 'RichText Docs Crawler'
65-
override-config: true
63+
site-url: "https://docs.dhtmlx.com/richtext/"
64+
crawler-name: "RichText Docs Crawler"
65+
override-config: true

docusaurus.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,17 @@ const config = {
134134
url: 'https://docs.dhtmlx.com',
135135
baseUrl: '/richtext/',
136136
onBrokenLinks: 'warn',
137-
onBrokenMarkdownLinks: 'warn',
137+
// onBrokenMarkdownLinks: 'warn', // deprecated in v3.9.1
138138
onBrokenAnchors: 'warn',
139139
favicon: 'img/favicon.ico',
140140
organizationName: 'DHTMLX',
141141
projectName: 'docs-richtext',
142142
trailingSlash: true,
143-
143+
markdown: {
144+
hooks: {
145+
onBrokenMarkdownLinks: 'warn',
146+
}
147+
},
144148
/*
145149
presets: [
146150
[

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "^3.8.1",
18-
"@docusaurus/preset-classic": "^3.8.1",
17+
"@docusaurus/core": "^3.9.1",
18+
"@docusaurus/preset-classic": "^3.9.1",
1919
"@mdx-js/react": "^3.0.0",
2020
"@svgr/webpack": "^5.5.0",
2121
"clsx": "^1.1.1",
@@ -27,13 +27,13 @@
2727
"url-loader": "^4.1.1"
2828
},
2929
"devDependencies": {
30-
"@docusaurus/module-type-aliases": "^3.8.1",
31-
"@docusaurus/types": "^3.8.1",
30+
"@docusaurus/module-type-aliases": "^3.9.1",
31+
"@docusaurus/types": "^3.9.1",
3232
"dhx-md-data-parser": "file:local_modules/dhx-md-data-parser",
3333
"docusaurus-plugin-sass": "^0.2.5"
3434
},
3535
"engines": {
36-
"node": ">=18.0"
36+
"node": ">=20.0"
3737
},
3838
"browserslist": {
3939
"production": [

0 commit comments

Comments
 (0)