pref: update sidebar

This commit is contained in:
thehrz 2024-11-30 16:44:05 +08:00
parent 4dd4abfc9f
commit 2ffdc47509
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855
6 changed files with 52 additions and 23 deletions

View File

@ -1,28 +1,31 @@
import { defineConfig } from 'vitepress' import { defineConfig } from "vitepress"
// https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
title: "河坝Minecraft服务器-文档", title: "H8 Network",
description: "文档", description: "河坝Minecraft服务器-文档",
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config nav: [{ text: "主页", link: "/" }, { text: "皮肤站", link: "https://auth.hfbz.net" }],
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
],
sidebar: [ sidebar: [
{ {
text: 'Examples', text: "开始",
items: [ items: [
{ text: 'Markdown Examples', link: '/markdown-examples' }, { text: "简介", link: "/introduction" },
{ text: 'Runtime API Examples', link: '/api-examples' } { text: "快速开始", link: "/getting-started" },
] ],
} },
{
text: "服务器",
items: [{ text: "主服务器", link: "/server/main" }],
},
{
text: "更新日志",
link: "/update",
},
], ],
socialLinks: [ // socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' } // { icon: "github", link: "https://github.com/vuejs/vitepress" },
] // ],
} },
}) })

3
auth.md Normal file
View File

@ -0,0 +1,3 @@
# 玩家认证
服务器采用混合验证模式。

View File

@ -2,10 +2,14 @@
layout: home layout: home
hero: hero:
name: "河坝MC服务器-文档" name: 河坝MC服务器
tagline: 欢迎 text: 玩家文档
tagline: H8 Network
actions: actions:
- theme: brand - theme: brand
text: 这是什么服务器?
link: /introduction
- theme: alt
text: 快速开始 text: 快速开始
link: /getting-started link: /getting-started
- theme: alt - theme: alt
@ -14,9 +18,9 @@ hero:
features: features:
- title: 优质玩家社区 - title: 优质玩家社区
details: 由河坝校友运营,玩家群体为高素质人群 details: 由河坝校友运营,玩家群体为高素质人群
- title: 玩法多样 - title: 玩法多样
details: 包含丰富的游戏模式、玩法以及丰富的插件 details: 包含丰富的游戏模式、玩法
- title: 混合验证模式 - title: 混合验证模式
details: 无论你有没有正版帐户都可以游玩 details: 无论你有正版帐户都可以游玩
--- ---

11
install.md Normal file
View File

@ -0,0 +1,11 @@
# 安装整合包
## 前置要求
- 安装`JDK 1.21`
## 下载与解压
从群内下载。
##

7
introduction.md Normal file
View File

@ -0,0 +1,7 @@
# 简介
## 服务器设置
- 主服务器(Main)
- 建筑服务器(Build)
- 存档服务器(Archive)

1
server/main.md Normal file
View File

@ -0,0 +1 @@
# 主服务器