docs: split commerce modules sidebars (#10705)

This commit is contained in:
Shahed Nasser
2024-12-23 18:09:53 +02:00
committed by GitHub
parent 9a05888538
commit be9b19eb0f
34 changed files with 2515 additions and 2402 deletions
+81
View File
@@ -0,0 +1,81 @@
/** @type {import('types').RawSidebarItem[]} */
export const sdkToolsSidebar = [
{
type: "link",
path: "/create-medusa-app",
title: "create-medusa-app",
},
{
type: "link",
path: "/medusa-cli",
title: "Medusa CLI",
isChildSidebar: true,
childSidebarTitle: "Medusa CLI Reference",
children: [
{
type: "link",
path: "/medusa-cli",
title: "Overview",
},
{
type: "separator",
},
{
type: "category",
title: "Commands",
autogenerate_path: "medusa-cli/commands",
},
],
},
{
type: "link",
path: "/js-sdk",
title: "JS SDK",
isChildSidebar: true,
childSidebarTitle: "JS SDK Reference",
children: [
{
type: "category",
title: "Auth",
autogenerate_path: "/references/js_sdk/auth/Auth/methods",
initialOpen: true,
},
{
type: "category",
title: "Store",
autogenerate_path: "/references/js_sdk/store/Store/properties",
initialOpen: true,
},
{
type: "category",
title: "Admin",
autogenerate_path: "/references/js_sdk/admin/Admin/properties",
initialOpen: true,
},
],
},
{
type: "link",
path: "/nextjs-starter",
title: "Next.js Starter Storefront",
isChildSidebar: true,
children: [
{
type: "link",
path: "/nextjs-starter",
title: "Overview",
},
{
type: "category",
title: "Payment",
children: [
{
type: "link",
path: "/nextjs-starter/guides/customize-stripe",
title: "Customize Stripe Integration",
},
],
},
],
},
]