Pumpkin-Docs/docs/.vitepress/config.mts
Alexander Medvedev 530524b739 init
2024-12-22 19:45:25 +01:00

92 lines
2.8 KiB
TypeScript

import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Pumpkin",
description:
"Empowering everyone to host fast and efficient Minecraft servers",
lang: "en-US",
base: "/Pumpkin/",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: {
provider: "local",
},
nav: [
{
text: "Documentation",
link: '/about/introduction'
}
],
sidebar: [
{
text: "About",
items: [
{ text: "Introduction", link: "/about/introduction" },
{ text: "Quick Start", link: "/about/quick-start" },
{ text: "Benchmarks", link: "/about/benchmarks" },
],
},
{
text: "Configuration",
items: [
{ text: "Introduction", link: "/config/introduction" },
{ text: "Basic", link: "/config/basic" },
{ text: "Proxy", link: "/config/proxy"},
{ text: "Authentication", link: "/config/authentication"},
{ text: "Compression", link: "/config/compression"},
{ text: "Resource Pack", link: "/config/resource-pack"},
{ text: "Commands", link: "/config/commands"},
{ text: "RCON", link: "/config/rcon"},
{ text: "PVP", link: "/config/pvp"},
{ text: "Logging", link: "/config/logging"},
{ text: "Query", link: "/config/query"},
{ text: "LAN Broadcast", link: "/config/lan-broadcast"},
],
},
{
text: "Developers",
items: [
{ text: "Contributing", link: "/developer/contributing", },
{ text: "Introduction", link: "/developer/introduction" },
{ text: "Networking", link: "/developer/networking" },
{ text: "Authentication", link: "/developer/authentication" },
{ text: "RCON", link: "/developer/rcon" },
{ text: "World", link: "developer/world"},
],
},
{
text: "Troubleshooting",
items: [
{ text: "Common Issues", link: "/troubleshooting/common_issues.md" },
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/Snowiiii/Pumpkin" },
{ icon: "discord", link: "https://discord.gg/RNm224ZsDq" },
],
logo: "/assets/icon.png",
footer: {
message: "Released under the MIT License.",
copyright: "Copyright © 2024-present Aleksandr Medvedev",
},
editLink: {
pattern: "https://github.com/Snowiiii/Pumpkin/blob/master/docs/:path",
text: "Edit this page on GitHub",
},
lastUpdated: {
text: "Updated at",
formatOptions: {
dateStyle: "medium",
timeStyle: "medium",
},
},
outline: "deep"
},
head: [["link", { rel: "icon", href: "/Pumpkin/assets/favicon.ico" }]],
});