diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 294f9f3..68e2a0d 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -2,89 +2,103 @@ 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", - 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" }, + 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", + }, ], - }, - { - 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"}, + 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", + }, + ], + }, ], - }, - { - 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" }, - ], + 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", + 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", }, - 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: "icon", href: "/assets/favicon.ico" }]], + head: [ + ["link", { rel: "shortcut icon", href: "/assets/favicon.ico" }], + ["link", { rel: "icon", href: "/assets/icon_32x32.png", sizes: "32x32" }], + ["link", { rel: "icon", href: "/assets/icon_48x48.png", sizes: "48x48" }], + ["link", { rel: "icon", href: "/assets/icon_96x96.png", sizes: "96x96" }], + ["link", { rel: "icon", href: "/assets/icon_144x144.png", sizes: "144x144" }], + + ["meta", { name: "keywords", content: "minecraft, performance, pumpkin, rust, server" }], + ], }); diff --git a/docs/public/assets/favicon.ico b/docs/public/assets/favicon.ico index aec22ad..a2f932b 100644 Binary files a/docs/public/assets/favicon.ico and b/docs/public/assets/favicon.ico differ diff --git a/docs/public/assets/icon_144x144.png b/docs/public/assets/icon_144x144.png new file mode 100644 index 0000000..ca6a3ad Binary files /dev/null and b/docs/public/assets/icon_144x144.png differ diff --git a/docs/public/assets/icon_32x32.png b/docs/public/assets/icon_32x32.png new file mode 100644 index 0000000..fb4b6fe Binary files /dev/null and b/docs/public/assets/icon_32x32.png differ diff --git a/docs/public/assets/icon_48x48.png b/docs/public/assets/icon_48x48.png new file mode 100644 index 0000000..440cbb6 Binary files /dev/null and b/docs/public/assets/icon_48x48.png differ diff --git a/docs/public/assets/icon_96x96.png b/docs/public/assets/icon_96x96.png new file mode 100644 index 0000000..7f5e4bf Binary files /dev/null and b/docs/public/assets/icon_96x96.png differ