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
+77
View File
@@ -0,0 +1,77 @@
/** @type {import('types').RawSidebarItem[]} */
export const productSidebar = [
{
type: "category",
title: "Product Module",
isChildSidebar: true,
children: [
{
type: "link",
path: "/commerce-modules/product",
title: "Overview",
},
{
type: "link",
path: "/commerce-modules/product/examples",
title: "Examples",
},
{
type: "link",
path: "/commerce-modules/product/extend",
title: "Extend Module",
},
{
type: "sub-category",
title: "Concepts",
children: [
{
type: "link",
path: "/commerce-modules/product/links-to-other-modules",
title: "Links to Other Modules",
},
],
},
{
type: "sub-category",
title: "Guides",
autogenerate_path: "/commerce-modules/product/guides",
},
{
type: "sub-category",
title: "References",
children: [
{
type: "link",
path: "/references/product",
title: "Main Service Reference",
isChildSidebar: true,
childSidebarTitle: "Product Module's Main Service Reference",
children: [
{
type: "category",
title: "Methods",
autogenerate_path:
"/references/product/IProductModuleService/methods",
},
],
},
{
type: "link",
path: "/references/product/models",
title: "Data Models Reference",
isChildSidebar: true,
childSidebarTitle: "Product Module Data Models Reference",
children: [
{
type: "category",
title: "Data Models",
hasTitleStyling: true,
autogenerate_path: "/references/product_models/variables",
},
],
},
],
},
],
},
]