75 lines
2.0 KiB
TypeScript
75 lines
2.0 KiB
TypeScript
import { defineConfig } from "vitepress"
|
|
import taskLists from "markdown-it-task-lists";
|
|
|
|
export default defineConfig({
|
|
title: "H8 Network",
|
|
description: "河坝Minecraft服务器-文档",
|
|
lastUpdated: true,
|
|
cleanUrls: true,
|
|
metaChunk: true,
|
|
themeConfig: {
|
|
outlineTitle: "目录",
|
|
nav: [
|
|
{ text: "主页", link: "/" },
|
|
{ text: "皮肤站", link: "https://auth.hfbz.net" },
|
|
{ text: "卫星地图(暂不可用)", link: "https://map.hfbz.net" },
|
|
|
|
],
|
|
|
|
sidebar: [
|
|
{
|
|
text: "开始",
|
|
items: [
|
|
{ text: "简介", link: "/introduction" },
|
|
{ text: "快速开始", link: "/getting-started" },
|
|
],
|
|
},
|
|
{
|
|
text: "服务器",
|
|
items: [
|
|
{ text: "主服务器 (Main)", link: "/server/main" },
|
|
{ text: "建筑 (Build)", link: "/server/build" },
|
|
{ text: "小游戏 (Minigames)", link: "/server/minigames" },
|
|
{ text: "归档 (Archive)", link: "/server/archive" },
|
|
],
|
|
},
|
|
{
|
|
text: "玩法",
|
|
items: [
|
|
{ text: "技能 (AuraSkills)", link: "/mechanism/auraskills" },
|
|
{ text: "更多附魔 (EcoEnchants)", link: "/mechanism/ecoenchants" },
|
|
{ text: "查询 (CoreProtect)", link: "/mechanism/coreprotect" },
|
|
{ text: "飞行方块 (FlyBlock)", link: "/mechanism/flyblock" },
|
|
{ text: "点歌 (AllMusic)", link: "/mechanism/allmusic" },
|
|
{ text: "电梯 (Lift)", link: "/mechanism/lift" },
|
|
{ text: "城镇 (Towny)", link: "/mechanism/towny" },
|
|
{ text: "星门 (Stargete)", link: "/mechanism/stargete" }
|
|
],
|
|
},
|
|
{
|
|
text: "更新",
|
|
items: [
|
|
{
|
|
text: "更新日志",
|
|
link: "/update",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
|
|
|
|
// socialLinks: [
|
|
// { icon: "github", link: "https://github.com/vuejs/vitepress" },
|
|
// ],
|
|
},
|
|
markdown: {
|
|
config: (md) => {
|
|
md.use(taskLists)
|
|
},
|
|
theme: {
|
|
light: "github-light",
|
|
dark: "github-dark",
|
|
},
|
|
},
|
|
})
|