diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e38b422..0a2de9ad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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 }} @@ -41,4 +41,25 @@ jobs: push: true tags: registry.webix.io/spreadsheet-docs-alt:${{ steps.vars.outputs.short_ref }} - - run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-spreadsheet-alt-${{ steps.vars.outputs.short_ref }}" \ No newline at end of file + - run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-spreadsheet-alt-${{ steps.vars.outputs.short_ref }}" + + algolia-crawl: + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + + - name: Wait for Deployment + run: sleep 30 + + - name: Algolia Crawler Creation and Crawl + uses: algolia/algoliasearch-crawler-github-actions@v1.0.10 + with: + crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} + 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/spreadsheet/" + crawler-name: "Spreadsheet Docs Crawler" + override-config: true diff --git a/docs/angular_integration.md b/docs/angular_integration.md index 6461c1f7..1c403a7b 100644 --- a/docs/angular_integration.md +++ b/docs/angular_integration.md @@ -7,7 +7,7 @@ description: You can learn about the Angular integration of the DHTMLX JavaScrip # Integration with Angular :::tip -You should be familiar with the basic concepts and patterns of **Angular** to use this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://angular.io/docs). +You should be familiar with the basic concepts and patterns of **Angular** to use this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://angular.dev/overview). ::: DHTMLX Spreadsheet is compatible with **Angular**. We have prepared code examples on how to use DHTMLX Spreadsheet with **Angular**. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/angular-spreadsheet-demo). @@ -15,7 +15,7 @@ DHTMLX Spreadsheet is compatible with **Angular**. We have prepared code example ## Creating a project :::info -Before you start to create a new project, install [**Angular CLI**](https://angular.io/cli) and [**Node.js**](https://nodejs.org/en/). +Before you start to create a new project, install [**Angular CLI**](https://angular.dev/tools/cli) and [**Node.js**](https://nodejs.org/en/). ::: Create a new **my-angular-spreadsheet-app** project using Angular CLI. Run the following command for this purpose: diff --git a/docs/customization.md b/docs/customization.md index 41cf0333..8caed98f 100644 --- a/docs/customization.md +++ b/docs/customization.md @@ -12,7 +12,7 @@ You can customize the appearance, structure and functionality of toolbar, menu a DHTMLX Spreadsheet uses the [Material Design](https://pictogrammers.com/library/mdi/?welcome)-based icons by default. However, you can use any other icon font pack, if necessary. For this, you need to include the desired icon font on a page and apply icons in any possible part of the spreadsheet: in Toolbar controls, Menu and Context menu items. -For example, you can use the [Font Awesome](https://fontawesome.com/) icon pack by including [link to its CDN](https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css) after the source files of DHTMLX Spreadsheet as follows: +For example, you can use the [Font Awesome](https://fontawesome.com/) icon pack by including [link to its CDN](https://docs.fontawesome.com/web/setup/get-started) after the source files of DHTMLX Spreadsheet as follows: ~~~html diff --git a/docs/react_integration.md b/docs/react_integration.md index 465d00d1..27a3cc03 100644 --- a/docs/react_integration.md +++ b/docs/react_integration.md @@ -7,7 +7,7 @@ description: You can learn about the React integration of the DHTMLX JavaScript # Integration with React :::tip -You should be familiar with the basic concepts and patterns of [**React**](https://react.dev) to use this documentation. To refresh your knowledge, please refer to the [**React documentation**](https://reactjs.org/docs/getting-started.html). +You should be familiar with the basic concepts and patterns of [**React**](https://react.dev) to use this documentation. To refresh your knowledge, please refer to the [**React documentation**](https://react.dev/learn). ::: DHTMLX Spreadsheet is compatible with **React**. We have prepared code examples of how to use DHTMLX Spreadsheet with **React**. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/react-spreadsheet-demo). diff --git a/docs/whats_new.md b/docs/whats_new.md index 851e1cee..0e63cdb7 100644 --- a/docs/whats_new.md +++ b/docs/whats_new.md @@ -8,10 +8,48 @@ description: You can learn what's new in the DHTMLX JavaScript Spreadsheet libra If you are updating Spreadsheet from an older version, check [Migration to Newer Version](migration.md) for details. +## Version 5.2.4 + +Released on September 24, 2025 + +### Fixes + +- Added export/import support for multiline cells + +## Version 5.2.3 + +Released on September 10, 2025 + +### Fixes + +- Incorrect alignment of numbers in cells when inserting arrays +- Improved input in the Asian languages + +## Version 5.2.2 + +Released on August 18, 2025 + +### Updates + +- Enhanced `setValidation()` for the type-ahead filtering in the built-in drop-down editor +- Added export/import support for hidden/frozen columns/rows, the data validation select box and Excel links in .xlsx files + +### Fixes + +- The problem with unmerging spanned cells in frozen columns/rows +- The issue with applying built-in themes +- The issue with Chinese input +- The issue with Japanese input on MacOS: autocomplete confirm causes the editor closing +- The problem with compiling the `spreadsheet.d.ts` file + ## Version 5.2.1 Released on June 30, 2025 +### Updates + +- The possibility to remove several columns/rows in one operation via the context menu + ### Fixes - The copy/paste script error @@ -21,10 +59,6 @@ Released on June 30, 2025 - The issue with unnecessary displaying of the vertical scroll in the toolbar - Math fixes for correct calculations in formulas -### Updates - -- The possibility to remove several columns/rows in one operation via the context menu - ## Version 5.2 Released on May 20, 2025 diff --git a/docusaurus.config.js b/docusaurus.config.js index bddade0f..e29e32fb 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -130,12 +130,17 @@ module.exports = { url: 'https://docs.dhtmlx.com', baseUrl: '/spreadsheet/', 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-spreadsheet', // 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 diff --git a/package.json b/package.json index 16978213..2663b16f 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "normalizeLink": "cd plugins && node samplesLinksNormalize.js" }, "dependencies": { - "@docusaurus/core": "^3.7.0", - "@docusaurus/preset-classic": "^3.7.0", + "@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", @@ -36,13 +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": ">=18.0" + "node": ">=20.0" } }