From 65685558ee7f0f1f3ad7a04f6bafff518db72e07 Mon Sep 17 00:00:00 2001 From: Lior Sventitzky Date: Thu, 19 Jun 2025 11:07:42 +0000 Subject: [PATCH] Removed transaction, readded docs script to node Signed-off-by: Lior Sventitzky --- docs/markdown/python/base_batch.md | 1 - docs/markdown/python/cluster_batch.md | 1 - docs/markdown/python/cluster_transaction.md | 2 -- docs/markdown/python/standalone_batch.md | 1 - docs/markdown/python/standalone_transaction.md | 2 -- docs/mkdocs.yml | 16 ++++++---------- node/package.json | 3 ++- 7 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 docs/markdown/python/cluster_transaction.md delete mode 100644 docs/markdown/python/standalone_transaction.md diff --git a/docs/markdown/python/base_batch.md b/docs/markdown/python/base_batch.md index a534410d35..9f5ec1fa91 100644 --- a/docs/markdown/python/base_batch.md +++ b/docs/markdown/python/base_batch.md @@ -1,2 +1 @@ -Note - Starting version `2.0.0`, the `Batch` class will be available and replace the `Transaction` class. ::: glide.async_commands.batch.BaseBatch diff --git a/docs/markdown/python/cluster_batch.md b/docs/markdown/python/cluster_batch.md index 0fb59a261b..3584ff84c7 100644 --- a/docs/markdown/python/cluster_batch.md +++ b/docs/markdown/python/cluster_batch.md @@ -1,2 +1 @@ -Note - Starting version `2.0.0`, the `Batch` class will be available and replace the `Transaction` class. ::: glide.async_commands.batch.ClusterBatch diff --git a/docs/markdown/python/cluster_transaction.md b/docs/markdown/python/cluster_transaction.md deleted file mode 100644 index ecbf01ff04..0000000000 --- a/docs/markdown/python/cluster_transaction.md +++ /dev/null @@ -1,2 +0,0 @@ -Note - The `Transaction` class will be dperecated starting version `2.0.0`, and will be replaced with the `Batch` class. -::: glide.async_commands.batch.ClusterTransaction diff --git a/docs/markdown/python/standalone_batch.md b/docs/markdown/python/standalone_batch.md index cab1c9ab0d..6ddfc6b008 100644 --- a/docs/markdown/python/standalone_batch.md +++ b/docs/markdown/python/standalone_batch.md @@ -1,2 +1 @@ -Note - Starting version `2.0.0`, the `Batch` class will be available and replace the `Transaction` class. ::: glide.async_commands.batch.Batch diff --git a/docs/markdown/python/standalone_transaction.md b/docs/markdown/python/standalone_transaction.md deleted file mode 100644 index 4e45af8f99..0000000000 --- a/docs/markdown/python/standalone_transaction.md +++ /dev/null @@ -1,2 +0,0 @@ -Note - The `Transaction` class will be dperecated starting version `2.0.0`, and will be replaced with the `Batch` class. -::: glide.async_commands.batch.Transaction diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 8ecccac509..8fd6bddc16 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -14,11 +14,9 @@ nav: - Core Commands: python/core.md - Cluster Commands: python/cluster_commands.md - Standalone Commands: python/standalone_commands.md - - Base Batch (from version 2.0.0): python/base_batch.md - - Standalone Batch (from version 2.0.0): python/standalone_batch.md - - Cluster Batch (from version 2.0.0): python/cluster_batch.md - - Standalone Transaction (deprecated): python/standalone_transaction.md - - Cluster Transaction (deprecated): python/cluster_transaction.md + - Base Batch: python/base_batch.md + - Standalone Batch: python/standalone_batch.md + - Cluster Batch: python/cluster_batch.md - Exceptions: python/exceptions.md - Logger: python/logger.md - TypeScript: @@ -26,11 +24,9 @@ nav: - Standalone: node/GlideClient/classes/GlideClient.md - Cluster: node/GlideClusterClient/classes/GlideClusterClient.md - Base: node/BaseClient/classes/BaseClient.md - - Base Batch (from version 2.0.0): node/Batch/classes/BaseBatch.md - - Standalone Batch (from version 2.0.0): node/Batch/classes/Batch.md - - Cluster Batch (from version 2.0.0): node/Batch/classes/ClusterBatch.md - - Transaction (deprecated): node/Batch/classes/Transaction.md - - Cluster Transaction (deprecated): node/Batch/classes/ClusterTransaction.md + - Base Batch: node/Batch/classes/BaseBatch.md + - Standalone Batch: node/Batch/classes/Batch.md + - Cluster Batch: node/Batch/classes/ClusterBatch.md - config: node/BaseClient/interfaces/BaseClientConfiguration.md - Modules: - JSON: node/server-modules/GlideJson/classes/GlideJson.md diff --git a/node/package.json b/node/package.json index 66648e19a7..dc57c79b26 100644 --- a/node/package.json +++ b/node/package.json @@ -81,7 +81,8 @@ "staged": "lint-staged", "prereq": "npm install", "artifacts": "napi artifacts", - "prepublishOnly": "cd ../.. && napi prepublish --config npm/glide/package.json -t npm --skip-gh-release" + "prepublishOnly": "cd ../.. && napi prepublish --config npm/glide/package.json -t npm --skip-gh-release", + "docs": "npm run build && ./docs/build-docs" }, "devDependencies": { "@jest/globals": "29",