mirror of
https://github.com/Pumpkin-MC/Pumpkin-Website.git
synced 2025-04-04 10:25:16 +00:00
* Change VitePress config to add locales * Move English documentation into new Directory * Started Dutch translations * Add Translation instructions * Set cleanUrls (Removes .html in URLs) * Ignore typo's for files containing translations * Add Dutch translations * Simplify config structure * Fix main page redirects for Dutch translation * Updated small indent issue --------- Co-authored-by: khalaor-gh <khalaor4@gmail.com>
124 lines
4.6 KiB
TypeScript
124 lines
4.6 KiB
TypeScript
import { defineConfig } from "vitepress";
|
|
|
|
export const en = defineConfig({
|
|
lang: "en-US",
|
|
description: "A High-performance Minecraft server software written in Rust",
|
|
|
|
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-${new Date().getFullYear()} 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",
|
|
}
|
|
});
|