1 import { DocsConfig } from "types"
2 import { globalConfig } from "docs-ui"
3 import { basePathUrl } from "../utils/base-path-url"
4
5 const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
6
7 export const config: DocsConfig = {
8 ...globalConfig,
9 titleSuffix: "Medusa Documentation",
10 description:
11 "Explore Medusa's recipes, Commerce and Infrastructure modules, API and SDK references, storefront guides, how-to guides, tutorials, and more.",
12 baseUrl,
13 basePath: process.env.NEXT_PUBLIC_BASE_PATH,
14 sidebars: [],
15 project: {
16 title: "Development Resources",
17 key: "resources",
18 },
19 breadcrumbOptions: {
20 startItems: [
21 {
22 title: "Documentation",
23 link: baseUrl,
24 },
25 ],
26 },
27 logo: `${process.env.NEXT_PUBLIC_BASE_PATH}/images/logo.png`,
28 version: {
29 ...globalConfig.version,
30 bannerImage: {
31 light: basePathUrl("/images/release.png"),
32 dark: basePathUrl("/images/release-dark.png"),
33 },
34 },
35 }