Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

name: Deploy To Site

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, next ]
branches: [master, next]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -24,13 +24,13 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.19.0'
node-version: "20.0"

- run: yarn install
- run: yarn build

- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
Expand Down Expand Up @@ -60,6 +60,6 @@ jobs:
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
site-url: 'https://docs.dhtmlx.com/suite/'
crawler-name: 'Suite Docs Crawler'
override-config: true
site-url: "https://docs.dhtmlx.com/suite/"
crawler-name: "Suite Docs Crawler"
override-config: true
7 changes: 6 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,17 @@ module.exports = {
url: 'https://docs.dhtmlx.com',
baseUrl: '/suite/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
// onBrokenMarkdownLinks: 'warn', // deprecated in v3.9.1
onBrokenAnchors: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'DHTMLX', // Usually your GitHub org/user name
projectName: 'docs-suite', // Usually your repo name
trailingSlash: true,
markdown: {
hooks: {
onBrokenMarkdownLinks: 'warn',
}
},
themeConfig: {
algolia: {
// This is a read-only, search-only key served directly by the front-end, managed by Algolia via their
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"normalizeLink": "cd plugins && node samplesLinksNormalize.js"
},
"dependencies": {
"@docusaurus/core": "^3.8.1",
"@docusaurus/preset-classic": "^3.8.1",
"@docusaurus/core": "^3.9.1",
"@docusaurus/preset-classic": "^3.9.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.1.1",
"docusaurus-gtm-plugin": "^0.0.2",
Expand All @@ -36,10 +36,13 @@
]
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.7.0",
"@docusaurus/types": "^3.7.0",
"@docusaurus/module-type-aliases": "^3.9.1",
"@docusaurus/types": "^3.9.1",
"dhx-md-data-parser": "file:local_modules/dhx-md-data-parser",
"docusaurus-plugin-sass": "^0.2.5",
"webpack-cli": "^4.4.0"
},
"engines": {
"node": ">=20.0"
}
}
Loading