104 lines
3.2 KiB
JavaScript
Raw Normal View History

2021-03-14 15:40:53 +08:00
module.exports = {
plugins: [
'@vuepress/back-to-top'
],
2021-03-15 14:00:29 +08:00
base: '/Xray-docs-next/',
2021-03-14 15:40:53 +08:00
locales: {
'/': {
lang: 'zh-CN',
title: 'Project X',
description: 'Xray 官方文档'
}
},
themeConfig: {
smoothScroll: true,
repo: 'xtls/xray-core',
repoLabel: '查看源码',
2021-03-15 23:59:11 +08:00
docsRepo: 'xtls/Xray-docs-next',
2021-03-17 00:12:25 +08:00
docsDir: 'docs',
2021-03-15 23:59:11 +08:00
docsBranch: 'main',
2021-03-14 15:40:53 +08:00
editLinks: true,
editLinkText: '帮助我们改善此页面!',
nav: [
{ text: '首页', link: '/' },
{ text: '大史记', link: '/about/news' },
2021-03-15 23:59:11 +08:00
{ text: '配置指南', link: '/config/' },
{ text: '开发指南', link: '/development/' },
{ text: '使用指南', link: '/usage/' },
2021-03-14 15:40:53 +08:00
{
text: '多语言',
ariaLabel: 'Language Menu',
items: [
{ text: '简体中文', link: '/' },
{ text: 'English', link: '/en' }
]
},
],
2021-03-15 23:59:11 +08:00
sidebar: {
'/config/': [
{
title: '示例配置',
collapsable: false,
children: [
'examples/vless',
'examples/xtls',
'examples/fallback',
'examples/env',
'examples/multiple'
]
},
2021-03-16 23:57:15 +08:00
{
title: '入站代理',
collapsable: false,
path: '/config/inbounds/',
children: [
'inbounds/dokodemo',
'inbounds/http',
'inbounds/shadowsocks',
'inbounds/socks',
'inbounds/trojan',
'inbounds/vless',
'inbounds/vmess'
]
},
{
title: '出站代理',
collapsable: false,
path: '/config/outbounds/',
children: [
'outbounds/blackhole',
'outbounds/dns',
'outbounds/freedom',
'outbounds/http',
'outbounds/shadowsocks',
'outbounds/socks',
'outbounds/trojan',
'outbounds/vless',
'outbounds/vmess'
]
},
{
title: '底层传输',
collapsable: false,
path: '/config/transports/',
children: [
'transports/grpc',
'transports/h2',
'transports/mkcp',
'transports/quic',
'transports/tcp',
'transports/websocket'
]
},
2021-03-15 23:59:11 +08:00
],
'/': 'auto',
}
2021-03-14 15:40:53 +08:00
},
markdown: {
toc: {
includeLevel: [2]
}
}
2021-03-15 14:00:29 +08:00
}