Files
medusa-store/www/apps/api-reference/config/index.ts
Shahed Nasser 22f30f54fd docs: update api-reference project for v2 (#7307)
* remove everything v1 and make v2 default

* move main v2 rewrites to book

* move rewrites to book + other fixes
2024-05-16 09:02:35 +02:00

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,
},
}