add how-to sidebar

This commit is contained in:
Shahed Nasser
2025-03-10 13:38:55 +02:00
parent 8b1ee3705e
commit e2d832ebc2
11 changed files with 310 additions and 120 deletions
+3 -2
View File
@@ -2101,7 +2101,7 @@ export const generatedEditDates = {
"app/admin-components/components/json-view-section/page.mdx": "2024-10-07T11:15:58.833Z",
"app/admin-components/components/section-row/page.mdx": "2024-10-07T11:15:58.832Z",
"app/admin-components/components/table/page.mdx": "2025-03-03T14:53:37.952Z",
"app/admin-components/page.mdx": "2025-03-07T08:00:46.960Z",
"app/admin-components/page.mdx": "2025-03-10T10:42:41.345Z",
"app/admin-components/layouts/single-column/page.mdx": "2024-10-07T11:16:06.435Z",
"app/admin-components/layouts/two-column/page.mdx": "2024-10-07T11:16:10.092Z",
"app/admin-components/components/forms/page.mdx": "2024-10-09T12:48:04.229Z",
@@ -6039,5 +6039,6 @@ export const generatedEditDates = {
"references/core_flows/types/core_flows.RefreshCartItemsWorkflowInput/page.mdx": "2025-03-04T13:33:46.131Z",
"references/core_flows/types/core_flows.RefreshCartShippingMethodsWorkflowInput/page.mdx": "2025-03-04T13:33:46.133Z",
"references/core_flows/types/core_flows.ValidateExistingPaymentCollectionStepInput/page.mdx": "2025-03-04T13:33:46.130Z",
"references/types/interfaces/types.ITaxProvider/page.mdx": "2025-03-04T13:33:52.645Z"
"references/types/interfaces/types.ITaxProvider/page.mdx": "2025-03-04T13:33:52.645Z",
"app/how-to-tutorials/page.mdx": "2025-03-10T09:33:49.208Z"
}
+4 -4
View File
@@ -787,14 +787,14 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/examples/guides/custom-item-price/page.mdx",
"pathname": "/examples/guides/custom-item-price"
},
{
"filePath": "/www/apps/resources/app/examples/guides/quote-management/page.mdx",
"pathname": "/examples/guides/quote-management"
},
{
"filePath": "/www/apps/resources/app/examples/page.mdx",
"pathname": "/examples"
},
{
"filePath": "/www/apps/resources/app/how-to-tutorials/page.mdx",
"pathname": "/how-to-tutorials"
},
{
"filePath": "/www/apps/resources/app/integrations/guides/resend/page.mdx",
"pathname": "/integrations/guides/resend"
@@ -26,6 +26,7 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"isPathHref": true,
"type": "category",
"title": "How-To Guides",
"description": "How-to guides are a collection of guides that help you understand how to achieve certain customizations or implementing specific features in Medusa.",
"children": [
{
"loaded": true,
@@ -35,6 +36,7 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"autogenerate_tags": "howTo+server",
"autogenerate_as_ref": true,
"sort_sidebar": "alphabetize",
"description": "These how-to guides help you customize the Medusa server to implement custom features and business logic.",
"children": [
{
"loaded": true,
@@ -146,29 +148,130 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components",
"title": "Overview",
"children": []
},
{
"type": "separator"
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Components",
"autogenerate_path": "/admin-components/components",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Layouts",
"autogenerate_path": "/admin-components/layouts",
"children": []
"type": "sidebar",
"sidebar_id": "admin-components-layouts",
"title": "Components & Layouts",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components",
"title": "Overview",
"children": []
},
{
"type": "separator"
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Layouts",
"autogenerate_path": "/admin-components/layouts",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/layouts/single-column",
"title": "Single Column",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/layouts/two-column",
"title": "Two Column",
"description": "",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Components",
"autogenerate_path": "/admin-components/components",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/action-menu",
"title": "Action Menu",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/container",
"title": "Container",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/data-table",
"title": "Data Table",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/forms",
"title": "Forms",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/header",
"title": "Header",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/json-view-section",
"title": "JSON View",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/section-row",
"title": "Section Row",
"description": "",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/admin-components/components/table",
"title": "Table",
"description": "",
"children": []
}
]
}
]
}
]
}
@@ -179,6 +282,7 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"isPathHref": true,
"type": "category",
"title": "Tutorials",
"description": "Tutorials are step-by-step guides that take you through implementing a specific use case in Medusa. You can follow these guides whether you're a beginner or an experienced Medusa developer.\n\nWhile tutorials show you a specific use case, they also help you understand how to implement similar use cases in your own projects. Also, you can implement the use case in a tutorial differently to fit your business requirements.",
"children": [
{
"loaded": true,
@@ -186,15 +290,16 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"type": "link",
"title": "Custom Item Pricing",
"path": "/examples/guides/custom-item-price",
"description": "Learn how to use prices from external systems for products.",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Wishlist",
"title": "Wishlist Plugin",
"path": "/plugins/guides/wishlist",
"description": "Learn how to build a wishlist plugin.",
"description": "Learn how to build a plugin for wishlist functionalities.",
"children": []
},
{
@@ -256,9 +361,6 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"title": "Overview",
"children": []
},
{
"type": "separator"
},
{
"loaded": true,
"isPathHref": true,
@@ -267,13 +369,10 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"path": "https://medusajs.com/pricing",
"children": []
},
{
"type": "separator"
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"type": "sub-category",
"title": "Self-Hosting",
"children": [
{
@@ -297,7 +396,7 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
{
"loaded": true,
"isPathHref": true,
"type": "category",
"type": "sub-category",
"title": "Next.js Starter",
"autogenerate_path": "/deployment/storefront",
"children": [