docs: reorganize reference area and unify directory READMEs

Reorganize the AI-agent documentation by function area:
- Move the plays/ application archive and experiences into docs/reference/, grouped by contributor <username>/ (flat experience entries + application subdirectories), with a single reference/README entry.
- Add a second level under docs/development/ (engineering/, ci/, release/); fold agent-guide into ai-guide; flatten the six project-completion sub-documents into one file.
- Unify each directory to a single README (drop every INDEX); fold assets/{fonts,images,music} README leaves into assets/README; remove the empty docs/software-design/.
- Add an upstream-PR rule: do not add or modify the repository-root README.
- Update all cross-references and bibliographic links (EN/ZH aligned); validate.sh --static passes. The repository-root README is left untouched.
This commit is contained in:
Shinku committed 2026-08-31 15:05:42 +08:00
1 parent 545881ad1d
commit cbede2d2fa
105 files changed
+1025 -1576

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@ second development; the fork conventions are in
## Development and verification
Use ESP-IDF 5.5.3. For a clean-machine setup, follow the
[environment bootstrap](../docs/development/environment-setup.md).
[environment bootstrap](../docs/development/engineering/environment-setup.md).
Prefer the repository firmware gate for builds and flash its verified merged
image at `0x0`. The direct IDF commands below are for incremental development.
@@ -59,7 +59,7 @@ The repository provides one validation entry point for local development and CI:
```
Follow the verification requirements in
[`docs/development/build-and-test.md`](../docs/development/build-and-test.md):
[`docs/development/build-and-test.md`](../docs/development/engineering/build-and-test.md):
a clean `idf.py build` is the minimum automated check, not hardware validation.
Record build results and on-device results separately; never present a successful
build as successful hardware validation.
+2 -2
View File
@@ -20,7 +20,7 @@
## 开发与验证
使用 ESP-IDF 5.5.3。全新机器先按
[环境引导](../docs/development/environment-setup.zh_CN.md)完成安装。
[环境引导](../docs/development/engineering/environment-setup.zh_CN.md)完成安装。
编译优先运行仓库固件门禁,烧录优先把验证过的合并镜像写入 `0x0`。以下直接
IDF 命令只用于增量开发。
@@ -52,7 +52,7 @@ cc -std=c11 -Wall -Wextra -Werror -Imain \
./tools/validate.sh # 完整门禁
```
遵守 [`docs/development/build-and-test.zh_CN.md`](../docs/development/build-and-test.zh_CN.md) 的
遵守 [`docs/development/build-and-test.zh_CN.md`](../docs/development/engineering/build-and-test.zh_CN.md) 的
验证要求:干净的 `idf.py build` 是最低自动检查,不是硬件验收;构建结果与真机结果
分开记录,禁止把编译通过描述成硬件验证通过。
+7 -7
View File
@@ -26,17 +26,17 @@ This file is the only mandatory entry point for AI-assisted work in this reposit
| Task | Read before editing |
| --- | --- |
| Any code change | `docs/development/agent-guide.md`, relevant headers and neighboring implementation |
| Environment bootstrap or missing toolchain | `docs/development/environment-setup.md` |
| Any code change | `docs/development/ai-guide.md`, relevant headers and neighboring implementation |
| Environment bootstrap or missing toolchain | `docs/development/engineering/environment-setup.md` |
| BSP, pins, buses, display, audio, battery | `docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`, `components/bsp/include/bsp_pins.h` |
| Demo or menu | `main/demo.h`, `main/main.c`, the nearest `main/demo_*.c` implementation |
| Build, test, dependencies, partitions | `docs/development/build-and-test.md`, `docs/development/ble-recovery-compatibility.md`, `sdkconfig.defaults`, `partitions.csv` |
| CI or release | the matching file in `docs/development/CI-*.md` and `.github/workflows/` |
| Project completion | `docs/development/project-completion.md` (then the `issue-suggestions` or `experience-pr` skill) |
| Documentation | `docs/contribution/doc-conventions.md`, `docs/INDEX.md` |
| Build, test, dependencies, partitions | `docs/development/engineering/build-and-test.md`, `docs/development/engineering/ble-recovery-compatibility.md`, `sdkconfig.defaults`, `partitions.csv` |
| CI or release | the matching file in `docs/development/ci/CI-*.md` and `.github/workflows/` |
| Project completion | `docs/development/release/project-completion.md` (then the `issue-suggestions` or `experience-pr` skill) |
| Documentation | `docs/contribution/doc-conventions.md`, `docs/README.md` |
| Commit or PR | `docs/contribution/commit-and-pr.md` |
Use `docs/README.md` for the product overview and `docs/INDEX.md` when a task needs additional documentation. Fork-specific workflow is in `docs/fork-guide.md` and is not required for ordinary upstream development.
Use `docs/README.md` for the product overview and the documentation index. For the detailed AI development workflow — context setup, source-of-truth priority, application/BSP boundary, runtime invariants, material placement, and delivery format — read `docs/development/ai-guide.md`. Fork-specific workflow is in `docs/fork-guide.md` and is not required for ordinary upstream development.
## Required validation and delivery
Loaded 3 of 105 files, more files were not shown because too many files have changed in this diff. Show more