Files
medusa-store/www/apps/user-guide/config/index.ts

24 lines
585 B
TypeScript

import { DocsConfig, SidebarItem } from "types"
import { generatedSidebar as sidebar } from "@/generated/sidebar.mjs"
import { globalConfig } from "docs-ui"
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
export const config: DocsConfig = {
...globalConfig,
titleSuffix: "Medusa Admin User Guide",
baseUrl,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
sidebar: {
default: sidebar as SidebarItem[],
mobile: [],
},
project: {
title: "User Guide",
key: "user-guide",
},
breadcrumbOptions: {
showCategories: true,
},
}