pronounsfu/docs/.vitepress/config.mts

40 lines
1011 B
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-08-20 13:38:53 -07:00
},
],
},
});