7.3 KiB
Documentation / 文档
The honk design, configuration, and operations docs are in en/ for English, zh/ for Simplified Chinese and zh-TW/ for Traditional Chinese (Taiwan). All three trees have the same layout.
honk 的设计、配置与运维文档按语言分目录:英文在 en/,简体中文在 zh/,正体中文(台湾)在 zh-TW/。三个目录结构相同。
Start with the Startup guide to install honk and choose a minimal configuration, then use the Configuration guide to add routing, DNS and subscriptions. Use Reference for exact fields, Operations for deployment checks, and Migration when upgrading. The root README.md gives the project overview.
先读启动指南,完成安装并选择最小配置,再用配置指南添加路由、DNS 和订阅。查字段时看参考文档,检查部署时看运维文档,升级时看迁移说明。项目概览见仓库根目录 README.md。
Guide / 指南
| Document | English | 简体中文 | 正體中文 |
|---|---|---|---|
| Startup guide | en/how-to-start.md | zh/how-to-start.md | zh-TW/how-to-start.md |
| Configuration guide | en/configuration.md | zh/configuration.md | zh-TW/configuration.md |
Reference / 参考
Field-by-field configuration and API reference. / 逐字段的配置与 API 参考。
Migration / 迁移
Per-release configuration changes that affect an existing configuration. One file per release tag, named after the tag. / 每个发行版中会影响已有配置的变更;每个发行 tag 一个文件,以 tag 命名。
| Release | English | 简体中文 | 正體中文 |
|---|---|---|---|
v0.1.0-beta.1 |
en/v0.1.0-beta.1.md | zh/v0.1.0-beta.1.md | — |
v0.1.0-beta.3 |
en/v0.1.0-beta.3.md | zh/v0.1.0-beta.3.md | — |
Operations / 运维
| Document | English | 简体中文 | 正體中文 |
|---|---|---|---|
| DNS canary and rollback runbook | en/operations/dns-rollout.md | zh/operations/dns-rollout.md | zh-TW/operations/dns-rollout.md |
| Long connections and keepalive / 长连接与保活 | en/operations/long-connections.md | zh/operations/long-connections.md | zh-TW/operations/long-connections.md |
Design / 设计
How honk works, by subsystem. / honk 的工作原理,按子系统划分。
| Document | English | 简体中文 | 正體中文 |
|---|---|---|---|
| Architecture overview | en/design/overview.md | zh/design/overview.md | zh-TW/design/overview.md |
| eBPF datapath | en/design/datapath.md | zh/design/datapath.md | zh-TW/design/datapath.md |
| Routing engine | en/design/routing.md | zh/design/routing.md | zh-TW/design/routing.md |
| Held-first-packet UDP (NFQUEUE) | en/design/nfqueue.md | zh/design/nfqueue.md | zh-TW/design/nfqueue.md |
| Userspace control plane | en/design/control-plane.md | zh/design/control-plane.md | zh-TW/design/control-plane.md |
| DNS subsystem | en/design/dns.md | zh/design/dns.md | zh-TW/design/dns.md |
| Client DNS audit over TCP syslog / 客户端 DNS TCP syslog 审计 | en/design/dns-syslog.md | zh/design/dns-syslog.md | zh-TW/design/dns-syslog.md |
| Outbound stack | en/design/outbound.md | zh/design/outbound.md | zh-TW/design/outbound.md |
| Groups, health, warm-up | en/design/groups.md | zh/design/groups.md | zh-TW/design/groups.md |
Conventions / 约定:
- Links between translated documentation pages use the same language. / 已翻译的文档页面之间使用同一语言的链接。
- The reference files are exhaustive for their config section; the design files explain mechanisms and invariants. / 参考文档穷尽对应配置小节的字段,设计文档解释机制与不变量。
- The AGENTS.md at the repo root carries agent-oriented layout notes. / 仓库根目录的 AGENTS.md 提供面向代理的结构说明。