docs: added examples page (#9587)
- Added an examples page with examples of all different concepts in Medusa. We'll probably add more examples with time as we see the need for them. - Small fixes in different pages. Preview: https://resources-docs-ocb5uyp0o-medusajs.vercel.app/v2/resources/examples
This commit is contained in:
1 parent
ddcb749bc4
commit
6e856d3156
15 files changed
+4301
-546
No files matched your search
+146
-177
@@ -7,6 +7,108 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
path: "/",
|
||||
title: "Overview",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/examples",
|
||||
title: "Examples",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes",
|
||||
title: "Recipes",
|
||||
isChildSidebar: true,
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace",
|
||||
title: "Marketplace",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace/examples/vendors",
|
||||
title: "Example: Vendors",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace/examples/restaurant-delivery",
|
||||
title: "Example: Restaurant-Delivery",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/subscriptions",
|
||||
title: "Subscriptions",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/subscriptions/examples/standard",
|
||||
title: "Example",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/digital-products",
|
||||
title: "Digital Products",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/digital-products/examples/standard",
|
||||
title: "Example",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/b2b",
|
||||
title: "B2B",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/commerce-automation",
|
||||
title: "Commerce Automation",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/ecommerce",
|
||||
title: "Ecommerce",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/integrate-ecommerce-stack",
|
||||
title: "Integrate Ecommerce Stack",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/multi-region-store",
|
||||
title: "Multi-Region Store",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/omnichannel",
|
||||
title: "Omnichannel Store",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/oms",
|
||||
title: "OMS",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/personalized-products",
|
||||
title: "Personalized Products",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/pos",
|
||||
title: "POS",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules",
|
||||
@@ -1485,141 +1587,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/integrations",
|
||||
title: "Integrations",
|
||||
isChildSidebar: true,
|
||||
children: [
|
||||
{
|
||||
type: "category",
|
||||
title: "File",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/architectural-modules/file/s3",
|
||||
title: "AWS S3 (and Compatible APIs)",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Notification",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/architectural-modules/notification/sendgrid",
|
||||
title: "SendGrid",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Payment",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules/payment/payment-provider/stripe",
|
||||
title: "Stripe",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes",
|
||||
title: "Recipes",
|
||||
isChildSidebar: true,
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace",
|
||||
title: "Marketplace",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace/examples/vendors",
|
||||
title: "Example: Vendors",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/marketplace/examples/restaurant-delivery",
|
||||
title: "Example: Restaurant-Delivery",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/subscriptions",
|
||||
title: "Subscriptions",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/subscriptions/examples/standard",
|
||||
title: "Example",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/digital-products",
|
||||
title: "Digital Products",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/digital-products/examples/standard",
|
||||
title: "Example",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/b2b",
|
||||
title: "B2B",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/commerce-automation",
|
||||
title: "Commerce Automation",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/ecommerce",
|
||||
title: "Ecommerce",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/integrate-ecommerce-stack",
|
||||
title: "Integrate Ecommerce Stack",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/multi-region-store",
|
||||
title: "Multi-Region Store",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/omnichannel",
|
||||
title: "Omnichannel Store",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/oms",
|
||||
title: "OMS",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/personalized-products",
|
||||
title: "Personalized Products",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/recipes/pos",
|
||||
title: "POS",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/architectural-modules",
|
||||
@@ -1783,45 +1750,9 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "SDKs and Tools",
|
||||
children: [
|
||||
{
|
||||
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: "/nextjs-starter",
|
||||
title: "Next.js Starter",
|
||||
},
|
||||
],
|
||||
type: "link",
|
||||
path: "/integrations",
|
||||
title: "Integrations",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
@@ -2094,6 +2025,47 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "SDKs and Tools",
|
||||
children: [
|
||||
{
|
||||
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: "/nextjs-starter",
|
||||
title: "Next.js Starter",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "General",
|
||||
@@ -2233,9 +2205,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin",
|
||||
|
||||
Reference in new issue
Block a user