Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.21.2/1.21.3 #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
314 changes: 174 additions & 140 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,158 +3,192 @@ import { tabsMarkdownPlugin } from "vitepress-plugin-tabs";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Minestom",
description:
"A multithreaded, open-source library for developing high-performance Minecraft servers.",
markdown: {
config(md) {
md.use(tabsMarkdownPlugin);
},
},
head: [
["link", { rel: "icon", href: "/favicon.ico" }],
["meta", { name: "theme-color", content: "#ff6c32" }],
],
cleanUrls: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: {
provider: "local"
title: "Minestom",
description:
"A multithreaded, open-source library for developing high-performance Minecraft servers.",
markdown: {
config(md) {
md.use(tabsMarkdownPlugin);
},
},
logo: "/minestom-logo.png",
nav: [
{ text: "Libraries", link: "/libraries" },
// { text: "Showcase", link: "/showcase/introduction" },
{ text: "Wiki", link: "/docs/introduction" },
{ text: "Javadoc", link: "https://javadoc.minestom.net" },
head: [
["link", { rel: "icon", href: "/favicon.ico" }],
["meta", { name: "theme-color", content: "#ff6c32" }],
],

sidebar: {
// "/showcase": [
// {
// text: "Introduction",
// link: "/showcase/introduction",
// },
//
// // Showcase example
// {
// text: "Showcase",
// items: [{ text: "Example Server", link: "/showcase/example" }],
// },
// ],
"/docs/": [
{
text: "Introduction",
link: "/docs/introduction",
cleanUrls: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: {
provider: "local",
},
{
text: "Setup",
items: [
{ text: "Dependencies", link: "/docs/setup/dependencies" },
{
text: "Your First Server",
link: "/docs/setup/your-first-server",
},
],
},
{
text: "Thread Architecture",
items: [
{
text: "Thread Safety in the JVM",
link: "/docs/thread-architecture/thread-safety",
},
{
text: "Acquirable API",
link: "/docs/thread-architecture/acquirable-api",
items: [
logo: "/minestom-logo.png",
nav: [
{ text: "Libraries", link: "/libraries" },
// { text: "Showcase", link: "/showcase/introduction" },
{ text: "Wiki", link: "/docs/introduction" },
{ text: "Javadoc", link: "https://javadoc.minestom.net" },
],

sidebar: {
// "/showcase": [
// {
// text: "Introduction",
// link: "/showcase/introduction",
// },
//
// // Showcase example
// {
// text: "Showcase",
// items: [{ text: "Example Server", link: "/showcase/example" }],
// },
// ],
"/docs/": [
{
text: "The Inside",
link: "/docs/thread-architecture/acquirable-api/inside-the-api",
text: "Introduction",
link: "/docs/introduction",
},
],
},
],
},
{
text: "World",
items: [
{ text: "Instances", link: "/docs/world/instances" },
{
text: "Chunk Management",
link: "/docs/world/chunk-management",
items: [
{ text: "Anvil Loader", link: "/docs/world/anvilloader" },
{ text: "Lighting", link: "/docs/world/lightloader" },
],
},
{ text: "Blocks", link: "/docs/world/blocks" },
{ text: "Coordinates", link: "/docs/world/coordinates" },
{ text: "Generation", link: "/docs/world/generation" },
{ text: "Batch", link: "/docs/world/batch" },
],
},
{
text: "Feature",
items: [
{ text: "Adventure", link: "/docs/feature/adventure" },
{
text: "Player Capabilities",
link: "/docs/feature/player-capabilities",
},
{
text: "Events",
link: "/docs/feature/events",
items: [
{
text: "Implementation",
link: "/docs/feature/events/implementation",
text: "Setup",
items: [
{
text: "Dependencies",
link: "/docs/setup/dependencies",
},
{
text: "Your First Server",
link: "/docs/setup/your-first-server",
},
],
},
{
text: "Server List Ping",
link: "/docs/feature/events/server-list-ping",
text: "Thread Architecture",
items: [
{
text: "Thread Safety in the JVM",
link: "/docs/thread-architecture/thread-safety",
},
{
text: "Acquirable API",
link: "/docs/thread-architecture/acquirable-api",
items: [
{
text: "The Inside",
link: "/docs/thread-architecture/acquirable-api/inside-the-api",
},
],
},
],
},
],
},
{ text: "Items", link: "/docs/feature/items" },
{
text: "World",
items: [
{ text: "Instances", link: "/docs/world/instances" },
{
text: "Chunk Management",
link: "/docs/world/chunk-management",
items: [
{
text: "Anvil Loader",
link: "/docs/world/anvilloader",
},
{
text: "Lighting",
link: "/docs/world/lightloader",
},
],
},
{ text: "Blocks", link: "/docs/world/blocks" },
{
text: "Coordinates",
link: "/docs/world/coordinates",
},
{ text: "Generation", link: "/docs/world/generation" },
{ text: "Batch", link: "/docs/world/batch" },
],
},
{
text: "Feature",
items: [
{ text: "Adventure", link: "/docs/feature/adventure" },
{
text: "Player Capabilities",
link: "/docs/feature/player-capabilities",
},
{
text: "Events",
link: "/docs/feature/events",
items: [
{
text: "Implementation",
link: "/docs/feature/events/implementation",
},
{
text: "Server List Ping",
link: "/docs/feature/events/server-list-ping",
},
],
},
{ text: "Items", link: "/docs/feature/items" },
{
text: "Entities",
link: "/docs/feature/entities",
items: [
{
text: "AI",
link: "/docs/feature/entities/ai",
},
],
},
{ text: "Tags", link: "/docs/feature/tags" },
{
text: "Schedulers",
link: "/docs/feature/schedulers",
},
{ text: "Commands", link: "/docs/feature/commands" },
{
text: "Inventories",
link: "/docs/feature/inventories",
},
{
text: "Player UUID",
link: "/docs/feature/player-uuid",
},
{
text: "Player Skin",
link: "/docs/feature/player-skin",
},
{
text: "Advancements",
link: "/docs/feature/advancements",
},
{
text: "Map Rendering",
link: "/docs/feature/map-rendering",
items: [
{
text: "GLFW Map Rendering",
link: "/docs/feature/map-rendering/glfwmaprendering",
},
],
},
{ text: "Query System", link: "/docs/feature/query" },
{
text: "Open to LAN",
link: "/docs/feature/open-to-lan",
},
],
},
],
},
socialLinks: [
{
text: "Entities",
link: "/docs/feature/entities",
items: [{ text: "AI", link: "/docs/feature/entities/ai" }],
icon: "github",
link: "https://github.com/minestom/Minestom",
},
{ text: "Tags", link: "/docs/feature/tags" },
{ text: "Schedulers", link: "/docs/feature/schedulers" },
{ text: "Commands", link: "/docs/feature/commands" },
{ text: "Inventories", link: "/docs/feature/inventories" },
{ text: "Player UUID", link: "/docs/feature/player-uuid" },
{ text: "Player Skin", link: "/docs/feature/player-skin" },
{ text: "Permissions", link: "/docs/feature/permissions" },
{ text: "Advancements", link: "/docs/feature/advancements" },
{
text: "Map Rendering",
link: "/docs/feature/map-rendering",
items: [
{
text: "GLFW Map Rendering",
link: "/docs/feature/map-rendering/glfwmaprendering",
},
],
icon: "discord",
link: "https://discord.gg/pkFRvqB",
},
{ text: "Query System", link: "/docs/feature/query" },
{ text: "Open to LAN", link: "/docs/feature/open-to-lan" },
],
},
],
],
},
socialLinks: [
{
icon: "github",
link: "https://github.com/minestom/Minestom",
},
{
icon: "discord",
link: "https://discord.gg/pkFRvqB",
},
],
},
});
Loading