From 1d5c0d1f264b2c72c18e362ce0e3152d57a37cb9 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Fri, 19 Dec 2025 15:10:17 +0800 Subject: [PATCH] =?UTF-8?q?nav=20=E4=BA=8C=E7=BA=A7=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 69 +++++++++++++++++++++++++++--- docs/config/features/index.md | 9 ++++ docs/config/inbounds/index.md | 16 +++---- docs/config/outbounds/index.md | 22 +++++----- docs/config/transports/index.md | 10 +++++ docs/en/config/features/index.md | 9 ++++ docs/en/config/inbounds/index.md | 16 +++---- docs/en/config/outbounds/index.md | 22 +++++----- docs/en/config/transports/index.md | 10 +++++ docs/ru/config/features/index.md | 9 ++++ docs/ru/config/inbounds/index.md | 16 +++---- docs/ru/config/outbounds/index.md | 22 +++++----- docs/ru/config/transports/index.md | 10 +++++ 13 files changed, 177 insertions(+), 63 deletions(-) create mode 100644 docs/config/features/index.md create mode 100644 docs/config/transports/index.md create mode 100644 docs/en/config/features/index.md create mode 100644 docs/en/config/transports/index.md create mode 100644 docs/ru/config/features/index.md create mode 100644 docs/ru/config/transports/index.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index a84619fc..13c209e2 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -44,8 +44,25 @@ export default defineConfig({ nav: [ { text: "首页", link: "/" }, { text: "大史记", link: "/about/news.md" }, - { text: "配置指南", link: "/config/" }, - { text: "使用指南", link: "/document/" }, + { + text: "配置指南", + items: [ + { text: "特性详解", link: "/config/features/" }, + { text: "基础配置", link: "/config/" }, + { text: "入站协议", link: "/config/inbounds/" }, + { text: "出站协议", link: "/config/outbounds/" }, + { text: "底层传输", link: "/config/transports/" }, + ], + }, + { + text: "使用指南", + items: [ + { text: "快速入门", link: "/document/" }, + { text: "小小白白话文", link: "/document/level-0/" }, + { text: "入门技巧", link: "/document/level-1/" }, + { text: "进阶技巧", link: "/document/level-2/" }, + ], + }, { text: "开发指南", link: "/development/" }, ], @@ -364,8 +381,28 @@ export default defineConfig({ nav: [ { text: "Homepage", link: "/en" }, { text: "The Great Chronicles", link: "/en/about/news.md" }, - { text: "Config Reference", link: "/en/config/" }, - { text: "Quick Start", link: "/en/document/" }, + { + text: "Configuration Guide", + items: [ + { text: "Feature Details", link: "/en/config/features/" }, + { text: "Basic Configuration", link: "/en/config/" }, + { text: "Inbound Protocols", link: "/en/config/inbounds/" }, + { text: "Outbound Protocols", link: "/en/config/outbounds/" }, + { text: "Underlying Transports", link: "/en/config/transports/" }, + ], + }, + { + text: "Usage Guide", + items: [ + { text: "Quick Start", link: "/en/document/" }, + { + text: "Beginner's Plain Language Guide", + link: "/en/document/level-0/", + }, + { text: "Beginner Tips", link: "/en/document/level-1/" }, + { text: "Advanced Tips", link: "/en/document/level-2/" }, + ], + }, { text: "Developer Guide", link: "/en/development/" }, ], @@ -751,8 +788,28 @@ export default defineConfig({ nav: [ { text: "Главная", link: "/ru" }, { text: "История сайта", link: "/ru/about/news.md" }, - { text: "Справочник по конфигурации", link: "/ru/config/" }, - { text: "Быстрый старт", link: "/ru/document/" }, + { + text: "Руководство по конфигурации", + items: [ + { text: "Подробности функций", link: "/ru/config/features/" }, + { text: "Базовая конфигурация", link: "/ru/config/" }, + { text: "Входящие протоколы", link: "/ru/config/inbounds/" }, + { text: "Исходящие протоколы", link: "/ru/config/outbounds/" }, + { text: "Нижние транспорты", link: "/ru/config/transports/" }, + ], + }, + { + text: "Руководство по использованию", + items: [ + { text: "Быстрый старт", link: "/ru/document/" }, + { + text: "Руководство для новичков простым языком", + link: "/ru/document/level-0/", + }, + { text: "Советы для начинающих", link: "/ru/document/level-1/" }, + { text: "Продвинутые советы", link: "/ru/document/level-2/" }, + ], + }, { text: "Руководство разработчика", link: "/ru/development/" }, ], diff --git a/docs/config/features/index.md b/docs/config/features/index.md new file mode 100644 index 00000000..f48f0187 --- /dev/null +++ b/docs/config/features/index.md @@ -0,0 +1,9 @@ +# Xray 特性详解 + +Xray 具备以下特性: + +- [XTLS 深度剖析](xtls.md) +- [Fallback 回落](fallback.md) +- [Browser Dialer](browser_dialer.md) +- [环境变量](env.md) +- [多文件配置](multiple.md) diff --git a/docs/config/inbounds/index.md b/docs/config/inbounds/index.md index 194b4079..f47d6f5a 100644 --- a/docs/config/inbounds/index.md +++ b/docs/config/inbounds/index.md @@ -2,11 +2,11 @@ Xray 支持以下入站协议: -- [Tunnel](../inbounds/tunnel.md) -- [HTTP](../inbounds/http.md) -- [Shadowsocks](../inbounds/shadowsocks.md) -- [Socks](../inbounds/socks.md) -- [Trojan](../inbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../inbounds/vless.md) -- [VMess](../inbounds/vmess.md) -- [WireGuard](../inbounds/wireguard.md) +- [Tunnel](tunnel.md) +- [HTTP](http.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/config/outbounds/index.md b/docs/config/outbounds/index.md index 8f850cb1..b7574fe8 100644 --- a/docs/config/outbounds/index.md +++ b/docs/config/outbounds/index.md @@ -2,14 +2,14 @@ Xray 支持以下出站协议: -- [Blackhole](../outbounds/blackhole.md) -- [DNS](../outbounds/dns.md) -- [Freedom (fragment, noises)](../outbounds/freedom.md) -- [HTTP](../outbounds/http.md) -- [Loopback](../outbounds/loopback.md) -- [Shadowsocks](../outbounds/shadowsocks.md) -- [Socks](../outbounds/socks.md) -- [Trojan](../outbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../outbounds/vless.md) -- [VMess](../outbounds/vmess.md) -- [WireGuard](../outbounds/wireguard.md) +- [Blackhole](blackhole.md) +- [DNS](dns.md) +- [Freedom (fragment, noises)](freedom.md) +- [HTTP](http.md) +- [Loopback](loopback.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/config/transports/index.md b/docs/config/transports/index.md new file mode 100644 index 00000000..234e1e10 --- /dev/null +++ b/docs/config/transports/index.md @@ -0,0 +1,10 @@ +# Xray 传输层列表 + +Xray 支持以下传输层: + +- [RAW](raw.md) +- [XHTTP: Beyond REALITY](xhttp.md) +- [mKCP](mkcp.md) +- [gRPC](grpc.md) +- [WebSocket](websocket.md) +- [HTTPUpgrade](httpupgrade.md) diff --git a/docs/en/config/features/index.md b/docs/en/config/features/index.md new file mode 100644 index 00000000..bbaf6180 --- /dev/null +++ b/docs/en/config/features/index.md @@ -0,0 +1,9 @@ +# Xray Feature Details + +Xray offers the following features: + +- [Deep Dive into XTLS](xtls.md) +- [Fallback](fallback.md) +- [Browser Dialer](browser_dialer.md) +- [Environment Variables](env.md) +- [Multi-file Configuration](multiple.md) diff --git a/docs/en/config/inbounds/index.md b/docs/en/config/inbounds/index.md index 9bf4f8d0..bf78cd63 100644 --- a/docs/en/config/inbounds/index.md +++ b/docs/en/config/inbounds/index.md @@ -2,11 +2,11 @@ Xray supports the following inbound protocols: -- [Dokodemo-Door](../inbounds/dokodemo.md) -- [HTTP](../inbounds/http.md) -- [Shadowsocks](../inbounds/shadowsocks.md) -- [Socks](../inbounds/socks.md) -- [Trojan](../inbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../inbounds/vless.md) -- [VMess](../inbounds/vmess.md) -- [WireGuard](../inbounds/wireguard.md) +- [Dokodemo-Door](dokodemo.md) +- [HTTP](http.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/en/config/outbounds/index.md b/docs/en/config/outbounds/index.md index ca50ea10..9ed90d6a 100644 --- a/docs/en/config/outbounds/index.md +++ b/docs/en/config/outbounds/index.md @@ -2,14 +2,14 @@ Xray supports the following outbound protocols: -- [Blackhole](../outbounds/blackhole.md) -- [DNS](../outbounds/dns.md) -- [Freedom (fragment, noises)](../outbounds/freedom.md) -- [HTTP](../outbounds/http.md) -- [Loopback](../outbounds/loopback.md) -- [Shadowsocks](../outbounds/shadowsocks.md) -- [Socks](../outbounds/socks.md) -- [Trojan](../outbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../outbounds/vless.md) -- [VMess](../outbounds/vmess.md) -- [WireGuard](../outbounds/wireguard.md) +- [Blackhole](blackhole.md) +- [DNS](dns.md) +- [Freedom (fragment, noises)](freedom.md) +- [HTTP](http.md) +- [Loopback](loopback.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/en/config/transports/index.md b/docs/en/config/transports/index.md new file mode 100644 index 00000000..e9df49b6 --- /dev/null +++ b/docs/en/config/transports/index.md @@ -0,0 +1,10 @@ +# Xray Transport Layer List + +Xray supports the following transport layers: + +- [RAW](raw.md) +- [XHTTP: Beyond REALITY](xhttp.md) +- [mKCP](mkcp.md) +- [gRPC](grpc.md) +- [WebSocket](websocket.md) +- [HTTPUpgrade](httpupgrade.md) diff --git a/docs/ru/config/features/index.md b/docs/ru/config/features/index.md new file mode 100644 index 00000000..89823730 --- /dev/null +++ b/docs/ru/config/features/index.md @@ -0,0 +1,9 @@ +# Детальное описание функций Xray + +Xray предлагает следующие функции: + +- [Глубокий анализ XTLS](xtls.md) +- [Fallback](fallback.md) +- [Browser Dialer](browser_dialer.md) +- [Переменные окружения](env.md) +- [Конфигурация из нескольких файлов](multiple.md) diff --git a/docs/ru/config/inbounds/index.md b/docs/ru/config/inbounds/index.md index 541288d4..69c1d30e 100644 --- a/docs/ru/config/inbounds/index.md +++ b/docs/ru/config/inbounds/index.md @@ -2,11 +2,11 @@ Xray поддерживает следующие входящие протоколы: -- [Tunnel](../inbounds/tunnel.md) -- [HTTP](../inbounds/http.md) -- [Shadowsocks](../inbounds/shadowsocks.md) -- [Socks](../inbounds/socks.md) -- [Trojan](../inbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../inbounds/vless.md) -- [VMess](../inbounds/vmess.md) -- [WireGuard](../inbounds/wireguard.md) +- [Tunnel](tunnel.md) +- [HTTP](http.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/ru/config/outbounds/index.md b/docs/ru/config/outbounds/index.md index 0b30e247..41af9d83 100644 --- a/docs/ru/config/outbounds/index.md +++ b/docs/ru/config/outbounds/index.md @@ -2,14 +2,14 @@ Xray поддерживает следующие исходящие протоколы: -- [Blackhole](../outbounds/blackhole.md) -- [DNS](../outbounds/dns.md) -- [Freedom (fragment, noises)](../outbounds/freedom.md) -- [HTTP](../outbounds/http.md) -- [Loopback](../outbounds/loopback.md) -- [Shadowsocks](../outbounds/shadowsocks.md) -- [Socks](../outbounds/socks.md) -- [Trojan](../outbounds/trojan.md) -- [VLESS (XTLS Vision Seed)](../outbounds/vless.md) -- [VMess](../outbounds/vmess.md) -- [WireGuard](../outbounds/wireguard.md) +- [Blackhole](blackhole.md) +- [DNS](dns.md) +- [Freedom (fragment, noises)](freedom.md) +- [HTTP](http.md) +- [Loopback](loopback.md) +- [Shadowsocks](shadowsocks.md) +- [Socks](socks.md) +- [Trojan](trojan.md) +- [VLESS (XTLS Vision Seed)](vless.md) +- [VMess](vmess.md) +- [WireGuard](wireguard.md) diff --git a/docs/ru/config/transports/index.md b/docs/ru/config/transports/index.md new file mode 100644 index 00000000..e364fa3f --- /dev/null +++ b/docs/ru/config/transports/index.md @@ -0,0 +1,10 @@ +# Список транспортных слоев Xray + +Xray поддерживает следующие транспортные слои: + +- [RAW](raw.md) +- [XHTTP: Beyond REALITY](xhttp.md) +- [mKCP](mkcp.md) +- [gRPC](grpc.md) +- [WebSocket](websocket.md) +- [HTTPUpgrade](httpupgrade.md)