docs: add sidebar sorting logic (#11751)

* docs: add sidebar sorting logic

* generate sidebar
This commit is contained in:
Shahed Nasser
2025-03-06 12:20:03 +02:00
committed by GitHub
parent ecc3deb362
commit 3616003145
28 changed files with 1959 additions and 1656 deletions
@@ -48,6 +48,7 @@ export const inventorySidebar = [
autogenerate_tags: "server+inventory",
initialOpen: false,
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to use the Inventory Module in your customizations on the Medusa application server.",
},
@@ -57,6 +58,7 @@ export const inventorySidebar = [
autogenerate_tags: "storefront+inventory,-jsSdk",
initialOpen: false,
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to integrate the Inventory Module's features into your storefront.",
},
@@ -66,6 +68,7 @@ export const inventorySidebar = [
autogenerate_tags: "admin+inventory,-jsSdk",
initialOpen: false,
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to utilize administative features of the Inventory Module.",
},
@@ -75,6 +78,7 @@ export const inventorySidebar = [
autogenerate_tags: "userGuide+inventory",
initialOpen: false,
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to utilize and manage Inventory features in the Medusa Admin dashboard.",
},
@@ -96,12 +100,14 @@ export const inventorySidebar = [
title: "Workflows",
autogenerate_tags: "workflow+inventory",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+inventory",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
],
},
@@ -118,6 +124,7 @@ export const inventorySidebar = [
description:
"The following methods or properties are used to send requests to Store API Routes related to the Inventory Module.",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
{
type: "sub-category",
@@ -126,6 +133,7 @@ export const inventorySidebar = [
description:
"The following methods or properties are used to send requests to Admin API Routes related to the Inventory Module.",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
],
},