docs: add JS SDK to commerce modules sidebars (#10740)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-12-26 13:33:33 +02:00
1 parent 688e1e60a5
commit ee50e67a96
111 files changed
+8567 -5406

No files matched your search

+33 -2
View File
@@ -51,6 +51,8 @@ export const promotionSidebar = [
autogenerate_tags: "server+promotion",
initialOpen: false,
autogenerate_as_ref: true,
description:
"Learn how to use the Promotion Module in your customizations on the Medusa application server.",
children: [
{
type: "link",
@@ -62,16 +64,20 @@ export const promotionSidebar = [
{
type: "category",
title: "Storefront Guides",
autogenerate_tags: "storefront+promotion",
autogenerate_tags: "storefront+promotion,-jsSdk",
initialOpen: false,
autogenerate_as_ref: true,
description:
"Learn how to integrate the Promotion Module's features into your storefront.",
},
{
type: "category",
title: "Admin Guides",
autogenerate_tags: "admin+promotion",
autogenerate_tags: "admin+promotion,-jsSdk",
initialOpen: false,
autogenerate_as_ref: true,
description:
"Learn how to utilize administative features of the Promotion Module.",
},
{
type: "category",
@@ -79,6 +85,8 @@ export const promotionSidebar = [
autogenerate_tags: "userGuides+promotion",
initialOpen: false,
autogenerate_as_ref: true,
description:
"Learn how to utilize and manage Promotion features in the Medusa Admin dashboard.",
},
{
type: "category",
@@ -94,10 +102,33 @@ export const promotionSidebar = [
initialOpen: false,
autogenerate_as_ref: true,
},
{
type: "category",
title: "JS SDK",
initialOpen: false,
description:
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
children: [
{
type: "sub-category",
title: "Store",
autogenerate_tags: "jsSdk+storefront+promotion",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+promotion",
autogenerate_as_ref: true,
},
],
},
{
type: "category",
title: "References",
initialOpen: false,
description:
"Find references for data models, methods, and more. These are useful for your customizations.",
children: [
{
type: "link",