Skip to content

Commit 1d5c0d1

Browse files
Meo597yuhan6665
authored andcommitted
nav 二级菜单
1 parent 140e721 commit 1d5c0d1

File tree

13 files changed

+177
-63
lines changed

13 files changed

+177
-63
lines changed

.vitepress/config.mts

Lines changed: 63 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,25 @@ export default defineConfig({
4444
nav: [
4545
{ text: "首页", link: "/" },
4646
{ text: "大史记", link: "/about/news.md" },
47-
{ text: "配置指南", link: "/config/" },
48-
{ text: "使用指南", link: "/document/" },
47+
{
48+
text: "配置指南",
49+
items: [
50+
{ text: "特性详解", link: "/config/features/" },
51+
{ text: "基础配置", link: "/config/" },
52+
{ text: "入站协议", link: "/config/inbounds/" },
53+
{ text: "出站协议", link: "/config/outbounds/" },
54+
{ text: "底层传输", link: "/config/transports/" },
55+
],
56+
},
57+
{
58+
text: "使用指南",
59+
items: [
60+
{ text: "快速入门", link: "/document/" },
61+
{ text: "小小白白话文", link: "/document/level-0/" },
62+
{ text: "入门技巧", link: "/document/level-1/" },
63+
{ text: "进阶技巧", link: "/document/level-2/" },
64+
],
65+
},
4966
{ text: "开发指南", link: "/development/" },
5067
],
5168

@@ -364,8 +381,28 @@ export default defineConfig({
364381
nav: [
365382
{ text: "Homepage", link: "/en" },
366383
{ text: "The Great Chronicles", link: "/en/about/news.md" },
367-
{ text: "Config Reference", link: "/en/config/" },
368-
{ text: "Quick Start", link: "/en/document/" },
384+
{
385+
text: "Configuration Guide",
386+
items: [
387+
{ text: "Feature Details", link: "/en/config/features/" },
388+
{ text: "Basic Configuration", link: "/en/config/" },
389+
{ text: "Inbound Protocols", link: "/en/config/inbounds/" },
390+
{ text: "Outbound Protocols", link: "/en/config/outbounds/" },
391+
{ text: "Underlying Transports", link: "/en/config/transports/" },
392+
],
393+
},
394+
{
395+
text: "Usage Guide",
396+
items: [
397+
{ text: "Quick Start", link: "/en/document/" },
398+
{
399+
text: "Beginner's Plain Language Guide",
400+
link: "/en/document/level-0/",
401+
},
402+
{ text: "Beginner Tips", link: "/en/document/level-1/" },
403+
{ text: "Advanced Tips", link: "/en/document/level-2/" },
404+
],
405+
},
369406
{ text: "Developer Guide", link: "/en/development/" },
370407
],
371408

@@ -751,8 +788,28 @@ export default defineConfig({
751788
nav: [
752789
{ text: "Главная", link: "/ru" },
753790
{ text: "История сайта", link: "/ru/about/news.md" },
754-
{ text: "Справочник по конфигурации", link: "/ru/config/" },
755-
{ text: "Быстрый старт", link: "/ru/document/" },
791+
{
792+
text: "Руководство по конфигурации",
793+
items: [
794+
{ text: "Подробности функций", link: "/ru/config/features/" },
795+
{ text: "Базовая конфигурация", link: "/ru/config/" },
796+
{ text: "Входящие протоколы", link: "/ru/config/inbounds/" },
797+
{ text: "Исходящие протоколы", link: "/ru/config/outbounds/" },
798+
{ text: "Нижние транспорты", link: "/ru/config/transports/" },
799+
],
800+
},
801+
{
802+
text: "Руководство по использованию",
803+
items: [
804+
{ text: "Быстрый старт", link: "/ru/document/" },
805+
{
806+
text: "Руководство для новичков простым языком",
807+
link: "/ru/document/level-0/",
808+
},
809+
{ text: "Советы для начинающих", link: "/ru/document/level-1/" },
810+
{ text: "Продвинутые советы", link: "/ru/document/level-2/" },
811+
],
812+
},
756813
{ text: "Руководство разработчика", link: "/ru/development/" },
757814
],
758815

docs/config/features/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Xray 特性详解
2+
3+
Xray 具备以下特性:
4+
5+
- [XTLS 深度剖析](xtls.md)
6+
- [Fallback 回落](fallback.md)
7+
- [Browser Dialer](browser_dialer.md)
8+
- [环境变量](env.md)
9+
- [多文件配置](multiple.md)

docs/config/inbounds/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Xray 支持以下入站协议:
44

5-
- [Tunnel](../inbounds/tunnel.md)
6-
- [HTTP](../inbounds/http.md)
7-
- [Shadowsocks](../inbounds/shadowsocks.md)
8-
- [Socks](../inbounds/socks.md)
9-
- [Trojan](../inbounds/trojan.md)
10-
- [VLESS (XTLS Vision Seed)](../inbounds/vless.md)
11-
- [VMess](../inbounds/vmess.md)
12-
- [WireGuard](../inbounds/wireguard.md)
5+
- [Tunnel](tunnel.md)
6+
- [HTTP](http.md)
7+
- [Shadowsocks](shadowsocks.md)
8+
- [Socks](socks.md)
9+
- [Trojan](trojan.md)
10+
- [VLESS (XTLS Vision Seed)](vless.md)
11+
- [VMess](vmess.md)
12+
- [WireGuard](wireguard.md)

docs/config/outbounds/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Xray 支持以下出站协议:
44

5-
- [Blackhole](../outbounds/blackhole.md)
6-
- [DNS](../outbounds/dns.md)
7-
- [Freedom (fragment, noises)](../outbounds/freedom.md)
8-
- [HTTP](../outbounds/http.md)
9-
- [Loopback](../outbounds/loopback.md)
10-
- [Shadowsocks](../outbounds/shadowsocks.md)
11-
- [Socks](../outbounds/socks.md)
12-
- [Trojan](../outbounds/trojan.md)
13-
- [VLESS (XTLS Vision Seed)](../outbounds/vless.md)
14-
- [VMess](../outbounds/vmess.md)
15-
- [WireGuard](../outbounds/wireguard.md)
5+
- [Blackhole](blackhole.md)
6+
- [DNS](dns.md)
7+
- [Freedom (fragment, noises)](freedom.md)
8+
- [HTTP](http.md)
9+
- [Loopback](loopback.md)
10+
- [Shadowsocks](shadowsocks.md)
11+
- [Socks](socks.md)
12+
- [Trojan](trojan.md)
13+
- [VLESS (XTLS Vision Seed)](vless.md)
14+
- [VMess](vmess.md)
15+
- [WireGuard](wireguard.md)

docs/config/transports/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Xray 传输层列表
2+
3+
Xray 支持以下传输层:
4+
5+
- [RAW](raw.md)
6+
- [XHTTP: Beyond REALITY](xhttp.md)
7+
- [mKCP](mkcp.md)
8+
- [gRPC](grpc.md)
9+
- [WebSocket](websocket.md)
10+
- [HTTPUpgrade](httpupgrade.md)

docs/en/config/features/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Xray Feature Details
2+
3+
Xray offers the following features:
4+
5+
- [Deep Dive into XTLS](xtls.md)
6+
- [Fallback](fallback.md)
7+
- [Browser Dialer](browser_dialer.md)
8+
- [Environment Variables](env.md)
9+
- [Multi-file Configuration](multiple.md)

docs/en/config/inbounds/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Xray supports the following inbound protocols:
44

5-
- [Dokodemo-Door](../inbounds/dokodemo.md)
6-
- [HTTP](../inbounds/http.md)
7-
- [Shadowsocks](../inbounds/shadowsocks.md)
8-
- [Socks](../inbounds/socks.md)
9-
- [Trojan](../inbounds/trojan.md)
10-
- [VLESS (XTLS Vision Seed)](../inbounds/vless.md)
11-
- [VMess](../inbounds/vmess.md)
12-
- [WireGuard](../inbounds/wireguard.md)
5+
- [Dokodemo-Door](dokodemo.md)
6+
- [HTTP](http.md)
7+
- [Shadowsocks](shadowsocks.md)
8+
- [Socks](socks.md)
9+
- [Trojan](trojan.md)
10+
- [VLESS (XTLS Vision Seed)](vless.md)
11+
- [VMess](vmess.md)
12+
- [WireGuard](wireguard.md)

docs/en/config/outbounds/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Xray supports the following outbound protocols:
44

5-
- [Blackhole](../outbounds/blackhole.md)
6-
- [DNS](../outbounds/dns.md)
7-
- [Freedom (fragment, noises)](../outbounds/freedom.md)
8-
- [HTTP](../outbounds/http.md)
9-
- [Loopback](../outbounds/loopback.md)
10-
- [Shadowsocks](../outbounds/shadowsocks.md)
11-
- [Socks](../outbounds/socks.md)
12-
- [Trojan](../outbounds/trojan.md)
13-
- [VLESS (XTLS Vision Seed)](../outbounds/vless.md)
14-
- [VMess](../outbounds/vmess.md)
15-
- [WireGuard](../outbounds/wireguard.md)
5+
- [Blackhole](blackhole.md)
6+
- [DNS](dns.md)
7+
- [Freedom (fragment, noises)](freedom.md)
8+
- [HTTP](http.md)
9+
- [Loopback](loopback.md)
10+
- [Shadowsocks](shadowsocks.md)
11+
- [Socks](socks.md)
12+
- [Trojan](trojan.md)
13+
- [VLESS (XTLS Vision Seed)](vless.md)
14+
- [VMess](vmess.md)
15+
- [WireGuard](wireguard.md)

docs/en/config/transports/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Xray Transport Layer List
2+
3+
Xray supports the following transport layers:
4+
5+
- [RAW](raw.md)
6+
- [XHTTP: Beyond REALITY](xhttp.md)
7+
- [mKCP](mkcp.md)
8+
- [gRPC](grpc.md)
9+
- [WebSocket](websocket.md)
10+
- [HTTPUpgrade](httpupgrade.md)

docs/ru/config/features/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Детальное описание функций Xray
2+
3+
Xray предлагает следующие функции:
4+
5+
- [Глубокий анализ XTLS](xtls.md)
6+
- [Fallback](fallback.md)
7+
- [Browser Dialer](browser_dialer.md)
8+
- [Переменные окружения](env.md)
9+
- [Конфигурация из нескольких файлов](multiple.md)

0 commit comments

Comments
 (0)