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

76 lines
2.0 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: {
repo: 'xSke/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: "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",
"/api-documentation",
"/privacy-policy",
"/faq",
"/tips-and-tricks"
]
},
{
title: "For server staff",
collapsable: false,
children: [
"/staff/permissions",
"/staff/moderation",
"/staff/disabling",
"/staff/logging",
"/staff/compatibility",
]
},
2020-07-28 16:19:40 +00:00
["https://discord.gg/PczBt78", "Join the support server"],
]
},
plugins: [
'@vuepress/plugin-back-to-top',
[
'@vuepress/google-analytics',
{
"ga": "UA-173942267-1"
}
],
["vuepress-plugin-clean-urls", { normalSuffix: "/" }],
],
}