feat(tsl-api-reference): expand and reorganize api catalog

Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references.

Keep the existing generated index without rebuilding after signature normalization.
This commit is contained in:
csh
2026-08-10 18:26:24 +08:00
parent 2938300acb
commit 9010829c6d
1186 changed files with 243901 additions and 219769 deletions
+7 -2
View File
@@ -204,15 +204,17 @@ skills/tsl-api-reference/
│ └─ function_index.tsv
├─ references/
│ └─ codegen/
│ ├─ builtin/ playbook 维护
│ ├─ builtin/ playbook 维护,页面直接平铺
│ │ └─ <page>.md
│ ├─ dotnet/ playbook 维护
│ │ └─ <module-dir>/<page>.md
│ └─ project/ 用户项目文档的默认 scope
│ └─ <module-dir>/<page>.md
└─ scripts/
└─ lookup.py
```
markdown 目标路径固定为:
用户录入的 markdown 目标路径固定为:
```text
skills/tsl-api-reference/references/codegen/<scope>/<module-dir>/<page>.md
@@ -223,6 +225,9 @@ skills/tsl-api-reference/references/codegen/<scope>/<module-dir>/<page>.md
- `<module-dir>`:功能分类目录,例如 `base``runtime``document`
- `<page>.md`:相关 API 的叶子文档,例如 `array.md``elements.md`
`builtin` 是维护侧的特例:页面直接位于 `codegen/builtin/<page>.md`,索引中的
`module` 等于文件名(不含 `.md`)。
录入文件的 `module` 是 markdown 一级标题,不是目录名。例如:
```text