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
+8
View File
@@ -36,6 +36,7 @@ export const apiKeySidebar = [
autogenerate_tags: "server+auth",
initialOpen: false,
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to use the API Key Module in your customizations on the Medusa application server.",
},
@@ -45,6 +46,7 @@ export const apiKeySidebar = [
initialOpen: false,
autogenerate_tags: "storefront+apiKey,-jsSdk",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to integrate the API Key Module's features into your storefront.",
},
@@ -54,6 +56,7 @@ export const apiKeySidebar = [
initialOpen: false,
autogenerate_tags: "admin+apiKey,-jsSdk",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to utilize administative features of the API Key Module.",
},
@@ -63,6 +66,7 @@ export const apiKeySidebar = [
initialOpen: false,
autogenerate_tags: "userGuide+apiKey",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
description:
"Learn how to utilize and manage API Key features in the Medusa Admin dashboard.",
},
@@ -84,12 +88,14 @@ export const apiKeySidebar = [
title: "Workflows",
autogenerate_tags: "workflow+apiKey",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
{
type: "category",
title: "Steps",
autogenerate_tags: "step+apiKey",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
],
},
@@ -106,6 +112,7 @@ export const apiKeySidebar = [
description:
"The following methods or properties are used to send requests to Store API Routes related to the API Key Module.",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
{
type: "sub-category",
@@ -114,6 +121,7 @@ export const apiKeySidebar = [
description:
"The following methods or properties are used to send requests to Admin API Routes related to the API Key Module.",
autogenerate_as_ref: true,
sort_sidebar: "alphabetize",
},
],
},