Files
medusa-store/www/apps/api-reference/config/index.ts
2025-03-18 17:37:51 +02:00

24 lines
542 B
TypeScript

import { globalConfig } from "docs-ui"
import { DocsConfig } from "types"
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
export const config: DocsConfig = {
...globalConfig,
baseUrl,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
// sidebar is auto generated
sidebars: [
{
sidebar_id: "api-ref",
title: "API Reference",
items: [],
},
],
project: {
title: "API Reference",
key: "api-reference",
},
logo: `${process.env.NEXT_PUBLIC_BASE_PATH}/images/logo.png`,
}