pronounss/docs/.vitepress/config.mts

41 lines
1 KiB
TypeScript
Raw Normal View History

2023-08-20 22:38:53 +02: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 15:45:16 +02:00
markdown: {
anchor: { level: [2, 3] },
},
2023-08-20 22:38:53 +02:00
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
2023-08-21 15:45:16 +02:00
siteTitle: "pronouns.cc",
logo: "/logo.svg",
2023-08-20 22:38:53 +02:00
nav: [
{ text: "Home", link: "/" },
{ text: "Back to pronouns.cc", link: "https://pronouns.cc/" },
],
2023-08-21 15:45:16 +02:00
outline: {
level: [2, 3],
},
2023-08-20 22:38:53 +02: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 15:45:16 +02:00
items: [
{ text: "Object reference", link: "/api/endpoints/" },
{ text: "Users", link: "/api/endpoints/users" },
2023-09-01 17:02:23 +02:00
{ text: "Members", link: "/api/endpoints/members" },
2023-08-21 15:45:16 +02:00
],
2023-08-20 22:38:53 +02:00
},
],
},
});