docs(experiences): allow multiple entries per capture
This commit is contained in:
1 parent
53f08f0ef5
commit
b7e41f3ca6
4 files changed
+14
-12
No files matched your search
@@ -22,11 +22,12 @@ applications.
|
||||
|
||||
## How to add an entry
|
||||
|
||||
Each release appends a dated entry with the release (tag or commit) as context.
|
||||
Follow the repository language rule: keep the default `.md` path in English and
|
||||
the paired `.zh_CN.md` in Simplified Chinese, aligned in the same change.
|
||||
Each release may produce **one or more** reusable, post-release learnings; each
|
||||
is added as its own entry (with the release tag or commit as context). Follow the
|
||||
repository language rule: keep the default `.md` path in English and the paired
|
||||
`.zh_CN.md` in Simplified Chinese, aligned in the same change.
|
||||
|
||||
Each capture produces one `.md` entry and its paired `.zh_CN.md`, stored under
|
||||
Each entry is a single `.md` file with its paired `.zh_CN.md`, stored under
|
||||
`docs/experiences/<username>/` and named after the entry's content summary in
|
||||
lowercase-kebab-case (for example `audio-compression-trade-offs.md`), so the
|
||||
filename describes the topic instead of an opaque timestamp. `<username>` is the
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# 开发经验沉淀
|
||||
|
||||
本页是每次固件发布后可复用开发经验的索引——聚焦 fork 相对上游 `docs/` 的差异:开发者在
|
||||
fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md` 及其配对 `.zh_CN.md`,保存在
|
||||
fork 上自行创建或变更的 `docs/` 文档。每条经验一个 `.md` 及其配对 `.zh_CN.md`,保存在
|
||||
[`../experiences/`](../experiences/) 目录下,按贡献者的 GitHub 用户名分组,按
|
||||
条目内容概要命名(小写连字符)。`experience-pr` skill 生成新条目,并从下面索引链接它。
|
||||
|
||||
@@ -17,8 +17,9 @@ fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md`
|
||||
|
||||
## 如何新增一条
|
||||
|
||||
每次发布追加一条带日期的记录,以发布版本(tag 或 commit)作为上下文。遵守仓库语言规则:
|
||||
默认 `.md` 路径用英文、配套 `.zh_CN.md` 用简体中文,并在同一次变更中保持对齐。
|
||||
一次发布可沉淀**一条或多条**可复用经验,每条作为独立条目新增,以发布版本(tag 或 commit)作为
|
||||
上下文。遵守仓库语言规则:默认 `.md` 路径用英文、配套 `.zh_CN.md` 用简体中文,并在同一次变更中
|
||||
保持对齐。
|
||||
|
||||
条目存放在 `docs/experiences/<username>/` 下,按条目内容概要命名(小写连字符,例如
|
||||
`audio-compression-trade-offs.md`),让文件名描述主题,而不是用不透明的时间戳。
|
||||
|
||||
@@ -108,14 +108,14 @@ customization to the upstream PR.
|
||||
|
||||
## Write the experience entry
|
||||
|
||||
Each experience capture produces exactly one `.md` file and its paired
|
||||
`.zh_CN.md` file under `docs/experiences/<username>/`, named after the entry's
|
||||
content summary in lowercase-kebab-case (for example
|
||||
Each experience capture may produce **one or more** entries, each as its own
|
||||
`.md` file with its paired `.zh_CN.md` under `docs/experiences/<username>/`,
|
||||
named after the entry's content summary in lowercase-kebab-case (for example
|
||||
`audio-compression-trade-offs.md`), where `<username>` is the contributing
|
||||
developer's GitHub username (lowercase-kebab-case) grouping that developer's
|
||||
entries together. This repository requires English at the default `.md` path and a
|
||||
paired `.zh_CN.md`, with reciprocal language links and no Chinese prose in the
|
||||
English file. Link the new entry from the index at
|
||||
English file. Link each new entry from the index at
|
||||
`docs/development/experience-notes.md`.
|
||||
|
||||
A developer is not limited to one entry. The archive holds **one or more entries
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user