pronounsfu/docs/.vitepress/config.mts

42 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-08-20 13:38:53 -07:00
import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "pronouns.cc documentation",
description: "pronouns.cc documentation",
2023-08-21 06:45:16 -07:00
markdown: {
anchor: { level: [2, 3] },
},
2023-08-20 13:38:53 -07:00
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
2023-08-21 06:45:16 -07:00
siteTitle: "pronouns.cc",
logo: "/logo.svg",
2023-08-20 13:38:53 -07:00
nav: [
{ text: "Home", link: "/" },
{ text: "Back to pronouns.cc", link: "https://pronouns.cc/" },
],
2023-08-21 06:45:16 -07:00
outline: {
level: [2, 3],
},
2023-08-20 13:38:53 -07:00
sidebar: [
{
text: "API",
items: [
{ text: "API reference", link: "/api/" },
{ text: "Rate limits", link: "/api/ratelimits" },
{ text: "Error messages", link: "/api/errors" },
],
},
{
text: "Endpoints",
2023-08-21 06:45:16 -07:00
items: [
{ text: "Object reference", link: "/api/endpoints/" },
{ text: "Users", link: "/api/endpoints/users" },
2023-09-01 08:02:23 -07:00
{ text: "Members", link: "/api/endpoints/members" },
2023-09-01 18:52:38 -07:00
{ text: "Other", link: "/api/endpoints/other" },
2023-08-21 06:45:16 -07:00
],
2023-08-20 13:38:53 -07:00
},
],
},
});