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

This commit is contained in:
Shahed Nasser
2024-12-26 13:33:33 +02:00
committed by GitHub
parent 688e1e60a5
commit ee50e67a96
111 changed files with 8567 additions and 5406 deletions
+40 -2
View File
@@ -30,19 +30,32 @@ export const apiKeySidebar = [
},
],
},
{
type: "category",
title: "Server Guides",
autogenerate_tags: "server+auth",
initialOpen: false,
autogenerate_as_ref: true,
description:
"Learn how to use the API Key Module in your customizations on the Medusa application server.",
},
{
type: "category",
title: "Storefront Guides",
initialOpen: false,
autogenerate_tags: "storefront+apiKey",
autogenerate_tags: "storefront+apiKey,-jsSdk",
autogenerate_as_ref: true,
description:
"Learn how to integrate the API Key Module's features into your storefront.",
},
{
type: "category",
title: "Admin Guides",
initialOpen: false,
autogenerate_tags: "admin+apiKey",
autogenerate_tags: "admin+apiKey,-jsSdk",
autogenerate_as_ref: true,
description:
"Learn how to utilize administative features of the API Key Module.",
},
{
type: "category",
@@ -50,6 +63,8 @@ export const apiKeySidebar = [
initialOpen: false,
autogenerate_tags: "userGuide+apiKey",
autogenerate_as_ref: true,
description:
"Learn how to utilize and manage API Key features in the Medusa Admin dashboard.",
},
{
type: "category",
@@ -65,10 +80,33 @@ export const apiKeySidebar = [
autogenerate_tags: "step+apiKey",
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+apiKey",
autogenerate_as_ref: true,
},
{
type: "sub-category",
title: "Admin",
autogenerate_tags: "jsSdk+admin+apiKey",
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",