PluralKit/docs/content/.vuepress/config.js

83 lines
2.3 KiB
JavaScript
Raw Normal View History

2020-07-28 16:19:40 +00:00
module.exports = {
title: 'PluralKit',
theme: 'default-prefers-color-scheme',
2020-07-28 16:19:40 +00:00
base: "/",
head: [
["link", { rel: "icon", type: "image/png", href: "/favicon.png" }],
['meta', { name: 'theme-color', content: '#da9317' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
],
evergreen: true,
markdown: {
extendMarkdown: md => {
md.use(require("markdown-it-custom-header-link"));
}
},
themeConfig: {
2022-06-05 16:57:10 +00:00
repo: 'PluralKit/PluralKit',
2020-07-28 18:11:45 +00:00
docsDir: 'docs/content/',
2020-07-28 16:19:40 +00:00
docsBranch: 'main',
editLinks: true,
editLinkText: 'Help us improve this page!',
lastUpdated: "Last updated",
2020-07-28 16:47:26 +00:00
nextLinks: true,
prevLinks: true,
2020-07-28 16:19:40 +00:00
nav: [
{ text: "Web dashboard", link: "https://dash.pluralkit.me" },
2020-07-28 16:19:40 +00:00
{ text: "Support server", link: "https://discord.gg/PczBt78" },
{ text: "Invite bot", link: "https://discord.com/oauth2/authorize?client_id=466378653216014359&scope=bot%20applications.commands&permissions=536995904" }
2020-07-28 16:19:40 +00:00
],
sidebar: [
"/",
["https://discord.com/oauth2/authorize?client_id=466378653216014359&scope=bot%20applications.commands&permissions=536995904", "Add to your server"],
2020-07-28 16:19:40 +00:00
{
title: "Documentation",
collapsable: false,
sidebarDepth: 2,
children: [
"/getting-started",
"/user-guide",
"/command-list",
"/privacy-policy",
"/faq",
"/tips-and-tricks"
]
},
{
title: "For server staff",
collapsable: false,
children: [
"/staff/permissions",
"/staff/moderation",
"/staff/disabling",
"/staff/logging",
"/staff/compatibility",
]
},
2021-10-22 15:20:26 +00:00
{
title: "API Documentation",
collapsable: false,
children: [
"/api/changelog",
"/api/reference",
"/api/endpoints",
"/api/models",
"/api/errors",
"/api/dispatch"
2021-10-22 15:20:26 +00:00
]
},
2020-07-28 16:19:40 +00:00
["https://discord.gg/PczBt78", "Join the support server"],
]
},
plugins: [
'@vuepress/plugin-back-to-top',
2021-11-05 01:45:54 +00:00
["plausible-analytics", { domain: 'plausible.pluralkit.me' }],
2020-07-28 16:19:40 +00:00
["vuepress-plugin-clean-urls", { normalSuffix: "/" }],
],
}