player-docs/.vitepress/config.mts

58 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-11-30 16:44:05 +08:00
import { defineConfig } from "vitepress"
2024-11-30 19:42:47 +08:00
import taskLists from "markdown-it-task-lists";
2024-11-23 16:37:53 +08:00
export default defineConfig({
2024-11-30 16:44:05 +08:00
title: "H8 Network",
description: "河坝Minecraft服务器-文档",
2024-11-30 19:42:47 +08:00
lastUpdated: true,
cleanUrls: true,
metaChunk: true,
2024-11-23 16:37:53 +08:00
themeConfig: {
2024-11-30 19:42:47 +08:00
nav: [
{ text: "主页", link: "/" },
{ text: "皮肤站", link: "https://auth.hfbz.net" },
],
2024-11-23 16:37:53 +08:00
sidebar: [
{
2024-11-30 16:44:05 +08:00
text: "开始",
2024-11-23 16:37:53 +08:00
items: [
2024-11-30 16:44:05 +08:00
{ text: "简介", link: "/introduction" },
{ text: "快速开始", link: "/getting-started" },
],
},
{
text: "服务器",
items: [{ text: "主服务器", link: "/server/main" }],
},
{
2024-11-30 19:42:47 +08:00
text: "更新",
items: [
{
text: "更新日志",
link: "/update",
},
{
text: "更新计划",
link: "/plan",
},
],
2024-11-30 16:44:05 +08:00
},
2024-11-23 16:37:53 +08:00
],
2024-11-30 19:42:47 +08:00
2024-11-23 16:37:53 +08:00
2024-11-30 16:44:05 +08:00
// socialLinks: [
// { icon: "github", link: "https://github.com/vuejs/vitepress" },
// ],
},
2024-11-30 19:42:47 +08:00
markdown: {
config: (md) => {
md.use(taskLists)
},
theme: {
light: "github-light",
dark: "github-dark",
},
},
2024-11-23 16:37:53 +08:00
})