docs/.vitepress/config.mts

55 lines
1.3 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: '/' },
{ text: 'Specification', link: '/spec' }
],
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: [
{ text: "Keys", link: "/cryptography/keys" }
]
},
{
text: "Objects",
link: "/objects",
items: [
{
text: "Publications", link: "/objects/publications", items: [
{ text: "Note", link: "/objects/note" },
{ text: "Patch", link: "objects/patch" },
]
}
2023-11-26 00:35:25 +01:00
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/lysand-org/' }
]
}
})