diff --git a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md index a2fff1da0..96e8f50c1 100644 --- a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md +++ b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md @@ -1,15 +1,20 @@ --- id: sdk-js-cookbook-v12 title: Cookbook (v12) -pagination_next: sdk-and-tools/sdk-js/extending-sdk-js +pagination_prev: sdk-and-tools/sdk-js/sdk-js-cookbook-versions +pagination_next: null --- [comment]: # (mx-abstract) -This page will guide you through the process of handling common tasks using **sdk-js**. +This page will guide you through the process of handling common tasks using **sdk-js v12 (legacy, previous version)**. :::important -This cookbook makes use of `sdk-js v12`. In order to migrate from `sdk-js v11.x` to `sdk-js v12`, please follow [the migration guide](/sdk-and-tools/sdk-js/sdk-js-migration-guides). +A newer variant of the **sdk-js** cookbook is available [here](/sdk-and-tools/sdk-js/sdk-js-cookbook-v13). +::: + +:::important +In order to migrate to the newer `sdk-js v13`, please follow [the migration guide](https://github.com/multiversx/mx-sdk-js-core/issues/392). ::: [comment]: # (mx-context-auto) diff --git a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md index 9b539e612..af3928de8 100644 --- a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md +++ b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md @@ -1,13 +1,13 @@ --- id: sdk-js-cookbook-v13 title: Cookbook (v13) +pagination_prev: sdk-and-tools/sdk-js/sdk-js pagination_next: null -pagination_prev: sdk-and-tools/sdk-js/sdk-js-cookbook-versions --- [comment]: # (mx-abstract) -This page will guide you through the process of handling common tasks using **upcoming versions** of **sdk-js**. +This page will guide you through the process of handling common tasks using **sdk-js v13 (latest, stable version)**. :::important This cookbook makes use of `sdk-js v13`. In order to migrate from `sdk-js v12.x` to `sdk-js v13`, please also follow [the migration guide](https://github.com/multiversx/mx-sdk-js-core/issues/392). diff --git a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-versions.md b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-versions.md index e5e45575f..a376c68d0 100644 --- a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-versions.md +++ b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-versions.md @@ -2,6 +2,7 @@ id: sdk-js-cookbook-versions title: Cookbook (other versions) pagination_next: null +pagination_prev: sdk-and-tools/sdk-js/sdk-js --- [comment]: # (mx-abstract) @@ -12,5 +13,5 @@ The cookbook version corresponds to the version of the [**sdk-js-core**](https:/ Please follow the version you are interested in: - - [Cookbook v12 **(stable, current version)**](/sdk-and-tools/sdk-js/sdk-js-cookbook-v12) - - [Cookbook v13 **(unstable, upcoming version)**](/sdk-and-tools/sdk-js/sdk-js-cookbook-v13) + - [Cookbook v13 **(stable, current version)**](/sdk-and-tools/sdk-js/sdk-js-cookbook-v13) + - [Cookbook v12 **(legacy, previous version)**](/sdk-and-tools/sdk-js/sdk-js-cookbook-v12) diff --git a/docusaurus.config.js b/docusaurus.config.js index c6133113b..8b44f15db 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -329,7 +329,7 @@ const config = { }, { from: "/sdk-and-tools/sdk-js/sdk-js-cookbook", - to: "/sdk-and-tools/sdk-js/sdk-js-cookbook-v12", + to: "/sdk-and-tools/sdk-js/sdk-js-cookbook-v13", }, { from: "/sdk-and-tools/erdjs/writing-and-testing-erdjs-interactions", diff --git a/sidebars.js b/sidebars.js index f1aa016eb..3a120d0e3 100644 --- a/sidebars.js +++ b/sidebars.js @@ -277,7 +277,7 @@ const sidebars = { { label: "Cookbook", type: "doc", - id: "sdk-and-tools/sdk-js/sdk-js-cookbook-v12", + id: "sdk-and-tools/sdk-js/sdk-js-cookbook-v13", }, { type: "category",