Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
luluxiaoyu committed Dec 25, 2023
1 parent 882d374 commit fda2ac6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 16 deletions.
31 changes: 27 additions & 4 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
import { defineUserConfig } from 'vuepress'

import { defaultTheme } from '@vuepress/theme-default'
export default defineUserConfig({
lang: 'zh-CN',
title: '你好, VuePress !',
description: '这是我的第一个 VuePress 站点',
})
title: 'NSTARMC群服务器文档',
description: '一份简单的文档~',
theme: defaultTheme({
// 侧边栏数组
// 所有页面会使用相同的侧边栏
sidebar: [
// SidebarItem
{
text: '文档首页',
link: '/',
children: [
// SidebarItem
{
text: 'github',
link: 'https://github.com',
children: [],
},
// 字符串 - 页面文件路径
'/',
],
},
// 字符串 - 页面文件路径
'/Play/',
],
}),
})
4 changes: 3 additions & 1 deletion docs/Play/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# 加入服务器
# 加入服务器

111
32 changes: 21 additions & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
```yaml
---
home: true
title: Home
heroImage: /hero.png
heroText: NSTARMC群服务器文档
tagline: 一个简单的文档
actionText: 立刻阅读 →
actionLink: /play/
actions:
- text: 游玩服务器!
link: /Play/
type: primary
- text: 介绍
link: /guide/introduction.html
type: secondary
features:
- title: 快速上手
details: 定制的MC客户端,一个客户端解决全部问题,傻瓜式操作。
- title: 公益
details: 不搞商业,只允许赞助。
- title: 一起玩~
details: 就是开着群里的人一起玩的而已啦!
footer: MIT Licensed | Copyright © 2020-2024 NSTARMC
- title: Simplicity First
details: Minimal setup with markdown-centered project structure helps you focus on writing.
- title: Vue-Powered
details: Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.
- title: Performant
details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
- title: Themes
details: Providing a default theme out of the box. You can also choose a community theme or create your own one.
- title: Plugins
details: Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.
- title: Bundlers
details: Default bundler is Vite, while Webpack is also supported. Choose the one you like!
footer: MIT Licensed | Copyright © 2018-present VuePress Community
---
```

0 comments on commit fda2ac6

Please sign in to comment.