import { defineConfig } from "vitepress"; // https://vitepress.dev/reference/site-config export default defineConfig({ title: "Pumpkin", description: "A High-performance Minecraft server software written in Rust", lang: "en-US", 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/Pumpkin-MC/Pumpkin" }, { icon: "discord", link: "https://discord.gg/RNm224ZsDq" }, ], logo: "/Pumpkin/assets/favicon.ico", footer: { message: "Released under the MIT License.", copyright: "Copyright © 2024-present Aleksandr Medvedev", }, editLink: { pattern: "https://github.com/Pumpkin-MC/Pumpkin-Website/blob/master/docs/:path", text: "Edit this page on GitHub", }, lastUpdated: { text: "Updated at", formatOptions: { dateStyle: "medium", timeStyle: "medium", }, }, outline: "deep", }, head: [ ["link", { rel: "shortcut icon", href: "/assets/favicon.ico" }], ["link", { rel: "icon", type: "image/png", href: "/assets/favicon-96x96.png", sizes: "96x96" }], ["link", { rel: "icon", type: "image/svg+xml", href: "/assets/favicon.svg" }], ["link", { rel: "apple-touch-icon", href: "/assets/apple-touch-icon.png", sizes: "180x180" }], ["link", { rel: "manifest", href: "/assets/site.webmanifest" }], ["meta", { name: "apple-mobile-web-app-title", content: "Pumpkin" }], ["meta", { name: "keywords", content: "minecraft, performance, pumpkin, rust, server" }], ], });