add references sidebar

This commit is contained in:
Shahed Nasser
2025-03-10 15:11:42 +02:00
parent 11db301f9b
commit affd5e83d4
9 changed files with 6878 additions and 6793 deletions
@@ -56,6 +56,25 @@ const sidebarMappings: {
"/nextjs-starter",
],
},
{
module: async () =>
import("@/generated/generated-references-sidebar.mjs") as Promise<{
default: Sidebar.Sidebar
}>,
paths: [
"/admin-widget-injection-zones",
"/medusa-container-resources",
"/medusa-workflows-reference",
"/references/core-flows",
"/references/data-model",
"/events-reference",
"/references/helper-steps",
"/service-factory-reference",
"/test-tools-reference",
"/references/workflows",
"/references-overview",
],
},
]
export async function getSidebarForPath(
currentPath: string