From 6e92b8e0e5418c94a6941ac34441095d5ed38ee4 Mon Sep 17 00:00:00 2001 From: Tatyana Date: Mon, 20 Apr 2026 14:57:30 -0400 Subject: [PATCH] [remove] outdated v2.1 references from docs - delete the standalone "Deprecated documentation 2.1" page; its content is fully covered by the 2.1 -> 3.0 section in the Migration guide - drop the page from the sidebar - replace broken links to docs.dhtmlx.com/spreadsheet__index.html and spreadsheet__reference.html with a "contact us" info block in the Migration guide - remove v2.1 info blocks from Guides overview and How to start pages - point the whats_new v3.0 link to the 2.1 -> 3.0 anchor in the Migration guide --- docs/deprecated_doc.md | 56 ------------------------------------------ docs/guides.md | 4 --- docs/how_to_start.md | 2 -- docs/migration.md | 6 +++-- docs/whats_new.md | 2 +- sidebars.js | 3 +-- 6 files changed, 6 insertions(+), 67 deletions(-) delete mode 100644 docs/deprecated_doc.md diff --git a/docs/deprecated_doc.md b/docs/deprecated_doc.md deleted file mode 100644 index 800998f1..00000000 --- a/docs/deprecated_doc.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -sidebar_label: Deprecated documentation 2.1 -title: Deprecated documentation -description: You can learn about deprecated documentation 2.1 of the DHTMLX JavaScript Spreadsheet library. Please, use the updated documentation. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Spreadsheet. ---- - -# Deprecated documentation 2.1 - -:::info -The **API of version 2.1** is still available, but it is incompatible with the [**API starting from version 3.0**](api/api_overview.md). If you require the documentation for version 2.1, please [contact us](https://dhtmlx.com/docs/contact.shtml), and we will send it to you. -::: - -This list of changes will help you to migrate from the version 2.1 where DHTMLX Spreadsheet was PHP-based, to the totally renewed version 3.0, in which the component is totally built on JavaScript. Check the list below to explore all the changes. - -## Changed API - -- `getStyle()` -> [`spreadsheet.getStyle()`](api/spreadsheet_getstyle_method.md) - returns styles applied to a cell(s) -- `getValue()` -> [`spreadsheet.getValue()`](api/spreadsheet_getvalue_method.md) - returns an object with the value(s) of a cell(s) -- `setStyle()` -> [`spreadsheet.setStyle()`](api/spreadsheet_setstyle_method.md) - sets style for a cell or a range of cells -- `setValue()` -> [`spreadsheet.setValue()`](api/spreadsheet_setvalue_method.md) - sets value for a cell or a range of cells -- `lock()` -> [`spreadsheet.lock()`](api/spreadsheet_lock_method.md) - locks a cell or a range of cells -- `unlock()` -> [`spreadsheet.unlock()`](api/spreadsheet_unlock_method.md) - unlocks a locked cell or a range of cells - -## Removed API - -### Spreadsheet class - -- `getCell()` -- `getCells()` -- `isCell()` -- `setSheetId()` - -### SpreadsheetCell - -- `calculate()` -- `exists()` -- `getAlign()` -- `getBgColor()` -- `getCalculatedValue()` -- `getColIndex()` -- `getColName()` -- `getColor()` -- `getCoords()` -- `getValidator()` -- `isBold()` -- `isIncorrect()` -- `isItalic()` -- `parseStyle()` -- `serializeStyle()` -- `setAlign()` -- `setBgColor()` -- `setBold()` -- `setColor()` -- `setItalic()` -- `setLocked()` -- `setValidator()` diff --git a/docs/guides.md b/docs/guides.md index 8ba9f99a..7d835353 100644 --- a/docs/guides.md +++ b/docs/guides.md @@ -6,10 +6,6 @@ description: You can study developer and user guides in the documentation of the # Guides -:::info -This documentation is dedicated to the renewed DHTMLX Spreadsheet of version **3.0 and upper**. To get information about the previous version **2.1**, [follow the related documentation](https://docs.dhtmlx.com/spreadsheet__index.html). -::: - DHTMLX Spreadsheet provides a range of great features to build a perfect application that include: support for import/export of data in different formats, handy work with content and style of data, adaptable structure of a spreadsheet, readonly mode, wide possibilities for look and feel customization, integration with famous frameworks, etc. ## Developer guides diff --git a/docs/how_to_start.md b/docs/how_to_start.md index a183aab4..5eb4b4f1 100644 --- a/docs/how_to_start.md +++ b/docs/how_to_start.md @@ -6,8 +6,6 @@ description: You can learn how to start with the DHTMLX JavaScript Spreadsheet l # How to start -{{note This documentation is dedicated to the renewed DHTMLX Spreadsheet of version 3.0. To get information about the previous version 2.1, [follow the related documentation](https://docs.dhtmlx.com/spreadsheet__index.html).}} - This clear and comprehensive tutorial will guide your through the steps you need to complete in order to get a full-functional DHTMLX Spreadsheet on a page. The component will be especially effective for managing large amounts of data when you need to save the results of calculations and reproduce them. ![Spreadsheet init](assets/how_to_start.png) diff --git a/docs/migration.md b/docs/migration.md index 98114431..95221eb1 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -202,9 +202,11 @@ const locale = { ## 2.1 -> 3.0 -This list of changes will help you to migrate from the [previous version 2.1](https://docs.dhtmlx.com/spreadsheet__index.html) where DHTMLX Spreadsheet was PHP-based to the totally renewed version 3.0 in which the component is totally built on JavaScript. Check the list below to explore all the changes. +This list of changes will help you to migrate from the previous version 2.1 where DHTMLX Spreadsheet was PHP-based to the totally renewed version 3.0 in which the component is totally built on JavaScript. Check the list below to explore all the changes. -{{note The [API of version 2.1](https://docs.dhtmlx.com/spreadsheet__reference.html) is still available, but it is incompatible with the [API of version 3.0](api/api_overview.md).}} +:::info +The **API of version 2.1** is still available, but it is incompatible with the [**API starting from version 3.0**](api/api_overview.md). If you require the documentation for version 2.1, please [contact us](https://dhtmlx.com/docs/contact.shtml), and we will send it to you. +::: ### Changed API diff --git a/docs/whats_new.md b/docs/whats_new.md index dc920782..7b487712 100644 --- a/docs/whats_new.md +++ b/docs/whats_new.md @@ -746,7 +746,7 @@ Released on October 25, 2018 In comparison to the previous PHP-based version, DHTMLX Spreadsheet of version 3.0 is a completely client-side JavaScript component. -Check the [Migration](migration.md) article to get information about the usage of new API. If you feel like keep using the previous version for a while, [the documentation for DHTMLX Spreadsheet v2.1](https://docs.dhtmlx.com/spreadsheet__index.html) is still available. +Check the [Migration](migration.md#21---30) article to get information about the usage of new API. ### New functionality diff --git a/sidebars.js b/sidebars.js index 857abcc2..92cb76ca 100644 --- a/sidebars.js +++ b/sidebars.js @@ -23,8 +23,7 @@ module.exports = { }, items: [ "whats_new", - "migration", - "deprecated_doc" + "migration" ] }, {