Raw
1 import { globalConfig } from "docs-ui"
2 import { DocsConfig } from "types"
3
4 const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
5
6 export const config: DocsConfig = {
7 ...globalConfig,
8 titleSuffix: "Medusa API Reference",
9 description:
10 "Comprehensive reference for Medusa's API routes, request/response structures, authentication methods, and error handling.",
11 baseUrl,
12 basePath: process.env.NEXT_PUBLIC_BASE_PATH,
13 // sidebar is auto generated
14 sidebars: [
15 {
16 sidebar_id: "api-ref",
17 title: "API Reference",
18 items: [],
19 },
20 ],
21 project: {
22 title: "API Reference",
23 key: "api-reference",
24 },
25 logo: `${process.env.NEXT_PUBLIC_BASE_PATH}/images/logo.png`,
26 }