Skip to content

Commit

Permalink
Adjust for sdk-js v13 as stable version.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Apr 8, 2024
1 parent 7f480bc commit a129405
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
11 changes: 8 additions & 3 deletions docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v12.md
Original file line number Diff line number Diff line change
@@ -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**.

:::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)
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v13.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
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)
Expand Down
5 changes: 3 additions & 2 deletions docs/sdk-and-tools/sdk-js/sdk-js-cookbook-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a129405

Please sign in to comment.