Files
cms.fellies.org/docs/.vitepress/config.mts

45 lines
1.6 KiB
TypeScript

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: "i18n Baseline", link: "/product-engineering/i18n-baseline" },
{ text: "RBAC And Permissions", link: "/product-engineering/rbac-permission-model" },
{ 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/" }],
},
],
socialLinks: [{ icon: "github", link: "https://example.com/replace-with-repo" }],
footer: {
message: "Internal documentation",
copyright: "Copyright © CMS",
},
},
})