init
This commit is contained in:
45
.vitepress/config.mts
Normal file
45
.vitepress/config.mts
Normal file
@@ -0,0 +1,45 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "Sif 2",
|
||||
description: "A Sif2 Server and Client Documents",
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: '用户指南', link: '/docs/user_guide/client_docs' },
|
||||
{ text: '服务器指南', link: '/docs/dev_guide/introduction' }
|
||||
],
|
||||
|
||||
sidebar: {
|
||||
'/docs/user_guide/': [
|
||||
{
|
||||
text: '游戏用户指南',
|
||||
items: [
|
||||
{ text: '游戏内使用说明', link: '/docs/user_guide/client_docs' },
|
||||
{ text: 'WebUI使用说明', link: '/docs/user_guide/user_webui' },
|
||||
{ text: '游戏相关信息', link: '/docs/user_guide/game_info' },
|
||||
]
|
||||
}
|
||||
],
|
||||
'/docs/dev_guide/': [
|
||||
{
|
||||
text: '服务器指南',
|
||||
items: [
|
||||
{ text: '介绍', link: '/docs/dev_guide/introduction' },
|
||||
{
|
||||
text: '安装',
|
||||
items: [
|
||||
{ text: 'Windows', link: '/docs/dev_guide/installation/windows' },
|
||||
{ text: 'Linux', link: '/docs/dev_guide/installation/linux' },
|
||||
{ text: 'docker', link: '/docs/dev_guide/installation/docker' },
|
||||
],
|
||||
},
|
||||
{ text: 'WebUI', link: '/docs/dev_guide/WebUI' },
|
||||
{ text: '环境变量和命令行参数', link: '/docs/dev_guide/variable-argument' },
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user