split sidebars + optimize generated files loading
This commit is contained in:
1 parent
87b041800a
commit
8b1ee3705e
17 files changed
+26105
-25913
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user