* remove everything v1 and make v2 default * move main v2 rewrites to book * move rewrites to book + other fixes
20 lines
445 B
TypeScript
20 lines
445 B
TypeScript
import { DocsConfig } from "types"
|
|
import { mobileSidebarItemsV2 } from "docs-ui"
|
|
|
|
export const config: DocsConfig = {
|
|
baseUrl: process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000",
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
|
|
// sidebar is auto generated
|
|
sidebar: {
|
|
top: [
|
|
{
|
|
title: "Introduction",
|
|
path: "",
|
|
loaded: true,
|
|
},
|
|
],
|
|
bottom: [],
|
|
mobile: mobileSidebarItemsV2,
|
|
},
|
|
}
|