added tools section

This commit is contained in:
Shahed Nasser
2025-03-10 14:41:02 +02:00
parent d2c4323299
commit 11db301f9b
12 changed files with 959 additions and 831 deletions
@@ -11,6 +11,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "Auth",
initialOpen: true,
children: [
{
type: "ref",
@@ -27,6 +28,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "CMS",
initialOpen: true,
children: [
{
type: "link",
@@ -38,6 +40,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "ERP",
initialOpen: true,
children: [
{
type: "ref",
@@ -49,6 +52,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "File",
initialOpen: true,
children: [
{
type: "ref",
@@ -60,6 +64,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "Fulfillment",
initialOpen: true,
children: [
{
type: "link",
@@ -71,6 +76,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "Notification",
initialOpen: true,
children: [
{
type: "link",
@@ -87,6 +93,7 @@ export const integrationsSidebar = [
{
type: "category",
title: "Payment",
initialOpen: true,
children: [
{
type: "ref",
-83
View File
@@ -1,83 +0,0 @@
/** @type {import('types').Sidebar.SidebarItem[]} */
export const sdkToolsSidebar = [
{
type: "link",
path: "/create-medusa-app",
title: "create-medusa-app",
},
{
type: "sidebar",
sidebar_id: "medusa-cli",
title: "Medusa CLI",
childSidebarTitle: "Medusa CLI Reference",
children: [
{
type: "link",
path: "/medusa-cli",
title: "Overview",
},
{
type: "separator",
},
{
type: "category",
title: "Commands",
autogenerate_path: "medusa-cli/commands",
},
],
},
{
type: "sidebar",
sidebar_id: "js-sdk",
title: "JS SDK",
childSidebarTitle: "JS SDK Reference",
children: [
{
type: "link",
path: "/js-sdk",
title: "Overview",
},
{
type: "separator",
},
{
type: "category",
title: "Auth",
autogenerate_path: "/references/js_sdk/auth/Auth/methods",
},
{
type: "category",
title: "Store",
autogenerate_path: "/references/js_sdk/store/Store/properties",
},
{
type: "category",
title: "Admin",
autogenerate_path: "/references/js_sdk/admin/Admin/properties",
},
],
},
{
type: "sidebar",
sidebar_id: "nextjs-starter",
title: "Next.js Starter Storefront",
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",
},
],
},
],
},
]
+120
View File
@@ -0,0 +1,120 @@
/** @type {import('types').Sidebar.SidebarItem[]} */
export const toolsSidebar = [
{
type: "link",
title: "Overview",
path: "/tools",
},
{
type: "category",
title: "CLI Tools",
initialOpen: true,
description:
"CLI tools help you setup Medusa, manage the database, and more.",
children: [
{
type: "link",
path: "/create-medusa-app",
title: "create-medusa-app",
},
{
type: "sidebar",
sidebar_id: "medusa-cli",
title: "Medusa CLI",
childSidebarTitle: "Medusa CLI Reference",
children: [
{
type: "link",
path: "/medusa-cli",
title: "Overview",
},
{
type: "separator",
},
{
type: "category",
title: "Commands",
autogenerate_path: "medusa-cli/commands",
},
],
},
],
},
{
type: "category",
title: "SDKs",
initialOpen: true,
description:
"SDKs help you build client applications, such as storefronts or admin dashboards, with Medusa. They're also useful when extending the Medusa Admin with widgets and UI routes.",
children: [
{
type: "sidebar",
sidebar_id: "js-sdk",
title: "JS SDK",
childSidebarTitle: "JS SDK Reference",
children: [
{
type: "link",
path: "/js-sdk",
title: "Overview",
},
{
type: "separator",
},
{
type: "category",
title: "Auth",
autogenerate_path: "/references/js_sdk/auth/Auth/methods",
},
{
type: "category",
title: "Store",
autogenerate_path: "/references/js_sdk/store/Store/properties",
},
{
type: "category",
title: "Admin",
autogenerate_path: "/references/js_sdk/admin/Admin/properties",
},
],
},
],
},
{
type: "category",
title: "Storefront Starters",
initialOpen: true,
description:
"A storefront starter is a storefront with the basic commerce features that you can use with your Medusa application. You can use it as-is or build on top of it. Learn more about building a storefront in the [Storefront Development](/storefront-development) documentation.",
children: [
{
type: "sidebar",
sidebar_id: "nextjs-starter",
title: "Next.js Starter Storefront",
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",
},
],
},
],
},
],
},
{
type: "external",
title: "Medusa UI",
path: "https://docs.medusajs.com/ui",
},
]