mirror of
https://github.com/Pumpkin-MC/Pumpkin-Website.git
synced 2025-02-07 00:19:51 +00:00
bf088d9f13
* Fixes * Fixes --------- Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
145 lines
5.6 KiB
TypeScript
145 lines
5.6 KiB
TypeScript
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/networking",
|
|
items: [
|
|
{ text: "Authentication", link: "/developer/networking/authentication" },
|
|
{ text: "RCON", link: "/developer/networking/rcon" },
|
|
]
|
|
},
|
|
{ text: "World", link: "developer/world" },
|
|
{ text: "Mobile dev", link: "developer/mobile" },
|
|
],
|
|
},
|
|
{
|
|
text: "Plugin Development",
|
|
items: [
|
|
{
|
|
text: "Introduction",
|
|
link: "/plugin-dev/introduction",
|
|
},
|
|
{
|
|
text: "Plugin Template",
|
|
link: "/plugin-dev/plugin-template/introduction",
|
|
items: [
|
|
{
|
|
text: "Creating Project",
|
|
link: "/plugin-dev/plugin-template/creating-project",
|
|
},
|
|
{
|
|
text: "Basic Logic",
|
|
link: "/plugin-dev/plugin-template/basic-logic",
|
|
},
|
|
{
|
|
text: "Join Event",
|
|
link: "/plugin-dev/plugin-template/join-event",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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: "/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" }],
|
|
|
|
["link", { rel: "canonical", href: "https://pumpkinmc.org/" }],
|
|
|
|
["meta", { name: "apple-mobile-web-app-title", content: "Pumpkin" }],
|
|
|
|
["script", { async: '', src: "https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX" }],
|
|
['script', {}, `window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-QK7NXQQ2ZP');`]
|
|
|
|
],
|
|
});
|