docs/.vitepress/config.mts

109 lines
3.4 KiB
TypeScript
Raw Normal View History

2023-11-26 00:35:25 +01:00
import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Lysand Documentation",
description: "Documentation for Lysand, a new federated protocol",
2023-11-26 00:38:12 +01:00
srcDir: 'docs',
2023-11-26 00:35:25 +01:00
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
2023-11-26 02:57:42 +01:00
{ text: 'Specification', link: '/spec' },
2023-11-26 00:35:25 +01:00
],
sidebar: [
{
text: 'Spec Details',
items: [
{ text: 'Spec', link: '/spec' },
]
},
{
text: "Structures",
items: [
{ text: "Content Format", link: '/structures/content-format' },
{ text: "Custom Emoji", link: '/structures/custom-emoji' },
2023-11-26 02:13:15 +01:00
{ text: "Collection", link: '/structures/collection' },
]
},
{
text: "Cryptography",
items: [
2023-11-26 04:32:38 +01:00
{ text: "Keys", link: "/cryptography/keys" },
{ text: "Signing", link: "/cryptography/signing" },
2023-11-26 02:13:15 +01:00
]
},
{
text: "Objects",
link: "/objects",
items: [
{
text: "Publications", link: "/objects/publications", items: [
{ text: "Note", link: "/objects/note" },
2023-11-26 04:32:38 +01:00
{ text: "Patch", link: "/objects/patch" },
2023-11-26 02:13:15 +01:00
]
2023-11-26 04:32:38 +01:00
},
{
text: "Actors", link: "/objects/actors", items: [
{ text: "User", link: "/objects/user" },
]
},
{
text: "Actions", link: "/objects/actions", items: [
{ text: "Like", link: "/objects/like" },
{ text: "Dislike", link: "/objects/dislike" },
{ text: "Follow", link: "/objects/follow" },
{ text: "FollowAccept", link: "/objects/follow-accept" },
{ text: "FollowReject", link: "/objects/follow-reject" },
{ text: "Announce", link: "/objects/announce" },
{ text: "Undo", link: "/objects/undo" },
]
},
{ text: "Server Metadata", link: "/objects/server-metadata" }
]
},
{
text: "Federation",
items: [
{ text: "Endpoints", link: "/federation/endpoints" },
{ text: "User Discovery", link: "/federation/user-discovery" },
2023-11-26 04:49:52 +01:00
{ text: "Server Actors", link: "/federation/server-actor" },
2023-11-26 04:32:38 +01:00
]
},
{
text: "Extensions",
link: "/extensions",
items: [
2023-11-26 04:49:52 +01:00
{ text: "Custom Emojis", link: "/extensions/custom-emojis" },
{ text: "Reactions", link: "/extensions/reactions" },
{ text: "Polls", link: "/extensions/polls" },
{ text: "Is Cat", link: "/extensions/is-cat" },
2023-11-26 04:32:38 +01:00
{ text: "Server Endorsements", link: "/extensions/server-endorsement" },
2023-11-26 04:49:52 +01:00
{ text: "Events", link: "/extensions/events" },
{ text: "Reports", link: "/extensions/reports" },
2024-03-20 04:07:23 +01:00
{ text: "Vanity", link: "/extensions/vanity" },
2023-11-26 00:35:25 +01:00
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/lysand-org/' }
2023-11-26 02:57:42 +01:00
],
search: {
provider: "local",
},
editLink: {
pattern: "https://github.com/lysand-org/docs/edit/main/docs/:path"
},
logo: "/logo.png",
},
lastUpdated: true,
cleanUrls: true,
2024-03-20 04:07:23 +01:00
titleTemplate: ":title · Lysand 2.0 Docs",
2023-11-26 02:57:42 +01:00
head: [
['link', { rel: 'icon', href: '/favicon.png', type: 'image/png' }]
],
lang: 'en-US',
2023-11-26 00:35:25 +01:00
})