split sidebars + optimize generated files loading

This commit is contained in:
Shahed Nasser committed 2025-03-10 10:32:45 +02:00
1 parent 87b041800a
commit 8b1ee3705e
17 files changed
+26105 -25913

No files matched your search

+2 -3
View File
@@ -1,5 +1,4 @@
import { DocsConfig, Sidebar } from "types"
import { generatedSidebars } from "../generated/sidebar.mjs"
import { DocsConfig } from "types"
import { globalConfig } from "docs-ui"
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
@@ -9,7 +8,7 @@ export const config: DocsConfig = {
titleSuffix: "Medusa Development Resources",
baseUrl,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
sidebars: generatedSidebars as Sidebar.Sidebar[],
sidebars: [],
project: {
title: "Development Resources",
key: "resources",