24 lines
542 B
TypeScript
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`,
|
|
}
|