docs: vendor the documentation site into the monorepo

Fold the standalone 3x-ui-docs project (Next.js 16 + Fumadocs, deployed to
docs.sanaei.dev) into docs/ so the panel and its documentation share a single
source of truth, the way sing-box keeps its docs in-tree. The old repo becomes
redundant and can be retired.

- Import the full site under docs/ (app, components, content, lib, public,
  scripts, config). The self-contained pnpm project sits alongside the existing
  engineering notes with no filename collisions.
- Re-point "Edit on GitHub" links from MHSanaei/3x-ui-docs to this repo's
  docs/content/docs path (docs/lib/shared.ts, docs/app/.../page.tsx).
- Add docs-ci.yml and docs-deploy.yml under .github/workflows/, scoped to
  docs/** and run with working-directory: docs, since GitHub only runs
  workflows from the repo-root .github/. deploy-static.yml's GitHub Pages
  publish (CNAME docs.sanaei.dev) carries over unchanged.

Follow-up (outside this commit): attach the docs.sanaei.dev custom domain to
this repository's Pages (or set the Vercel project's root directory to docs),
confirm the site is live from the monorepo, then delete MHSanaei/3x-ui-docs.
This commit is contained in:
MHSanaei
2026-07-07 23:07:14 +02:00
parent 2c49dbf54e
commit 9b91f0f42e
283 changed files with 44179 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
---
title: 常见问题
description: 关于 3x-ui 的常见问题 —— 许可协议、受支持的系统、数据库以及客户端。
icon: CircleQuestionMark
---
## 3x-ui 是免费且开源的吗?
是的。3x-ui 基于 GPL-3.0 许可协议开源,源代码托管在
[GitHub](https://github.com/MHSanaei/3x-ui) 上。
## 它能运行在哪些系统上?
绝大多数主流 Linux 发行版(Ubuntu、Debian、CentOS/RHEL 及其衍生版、
Fedora、Arch、Alpine 等),并支持 `amd64`、`arm64` 以及其他架构。
它同样可以作为 Docker 容器运行。参见[安装](/docs/guide/installation)。
## 选 SQLite 还是 PostgreSQL?
SQLite 是默认选项,适用于大多数部署场景。对于规模更大的部署,可以通过
`XUI_DB_TYPE=postgres` 和 `XUI_DB_DSN` 启用 PostgreSQL —— 参见
[环境变量](/docs/reference/env-vars)。
## 哪些客户端应用可以配合使用?
任何兼容 Xray 的客户端 —— 例如 v2rayNG、Hiddify 以及 Clash/Mihomo。
导入客户端的分享链接或 QR 码,或者使用
[订阅](/docs/config/subscription)。
## 3x-ui 与 x-ui 有什么区别?
3x-ui 是原版 X-UI 项目的增强分支。它增加了更广泛的协议支持、更佳的稳定性、
按客户端的流量统计、多节点管理、13 种语言的界面,以及众多提升使用体验的功能。
## 我该如何更新?
重新运行安装脚本(它会原地更新),或者拉取新的 Docker 镜像。
参见[安装](/docs/guide/installation)以及
[发布页面](https://github.com/MHSanaei/3x-ui/releases)。
## 我可以在哪里获取帮助?
加入官方 Telegram 频道 [@XrayUI](https://t.me/XrayUI) 获取公告与社区支持,
或在 [GitHub](https://github.com/MHSanaei/3x-ui/issues) 上提交 issue。遇到常见问题时,
请先查看[故障排查](/docs/help/troubleshooting)。