Files
medusa-store/www/apps/api-reference/config/index.ts
Shahed Nasser c99b03bcc2 docs: change logo (#10208)
* docs: changed logo

* remove unused component
2024-11-21 18:15:32 +02:00

28 lines
612 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
sidebar: {
default: [
{
type: "link",
title: "Introduction",
path: "introduction",
loaded: true,
},
],
mobile: [],
},
project: {
title: "API Reference",
key: "api-reference",
},
logo: `${process.env.NEXT_PUBLIC_BASE_PATH}/images/logo.png`,
}