25 lines
490 B
TypeScript
25 lines
490 B
TypeScript
import { DocsConfig } from "types"
|
|
|
|
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
|
|
|
export const config: DocsConfig = {
|
|
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",
|
|
},
|
|
}
|