import { defineConfig } from "vitepress" export default defineConfig({ title: "CMS Docs", description: "Documentation hub for product, engineering, API, and admin/user guidance.", cleanUrls: true, lastUpdated: true, themeConfig: { nav: [ { text: "Home", link: "/" }, { text: "Product / Engineering", link: "/product-engineering/" }, { text: "Admin / User Guides", link: "/admin-user-guides/" }, { text: "Public API", link: "/public-api/" }, ], sidebar: [ { text: "Product / Engineering", items: [ { text: "Section Overview", link: "/product-engineering/" }, { text: "Getting Started", link: "/getting-started" }, { text: "Architecture", link: "/architecture" }, { text: "Better Auth Baseline", link: "/product-engineering/auth-baseline" }, { text: "CRUD Baseline", link: "/product-engineering/crud-baseline" }, { text: "CRUD Examples", link: "/product-engineering/crud-examples" }, { text: "i18n Baseline", link: "/product-engineering/i18n-baseline" }, { text: "i18n Conventions", link: "/product-engineering/i18n-conventions" }, { text: "RBAC And Permissions", link: "/product-engineering/rbac-permission-model" }, { text: "Domain Glossary", link: "/product-engineering/domain-glossary" }, { text: "Environment Runbook", link: "/product-engineering/environment-runbook" }, { text: "Testing Strategy", link: "/product-engineering/testing-strategy" }, { text: "ADR Index", link: "/adr/" }, { text: "Workflow", link: "/workflow" }, ], }, { text: "Admin / User Guides", items: [{ text: "Section Overview", link: "/admin-user-guides/" }], }, { text: "Public API", items: [ { text: "Section Overview", link: "/public-api/" }, { text: "Glossary", link: "/public-api/glossary" }, ], }, { text: "ADR", items: [ { text: "Index", link: "/adr/" }, { text: "0001 Monorepo Foundation", link: "/adr/0001-monorepo-foundation" }, ], }, ], socialLinks: [{ icon: "github", link: "https://example.com/replace-with-repo" }], footer: { message: "Internal documentation", copyright: "Copyright © CMS", }, }, })