feat: improve Dartdoc HTML migration lane#702
Conversation
12035e6 to
a4d8139
Compare
70fc6b3 to
e484a4b
Compare
a4d8139 to
6c8eff6
Compare
Vercel PreviewPreview URL: https://docs-portal-n6xs06vyy-agora-devx.vercel.app |
e484a4b to
8f111be
Compare
6c8eff6 to
3fede71
Compare
8f111be to
5179492
Compare
3fede71 to
55c0bd4
Compare
|
对应 #773 的根因修复已推送:2f74c23ac。新增 |
f58a5e3 to
a0b1c66
Compare
2f74c23 to
dafbc8d
Compare
|
已将本 stacked PR 重放到当前 #701 head,消除父分支冲突;当前 head |
|
Issue #780 已在本 PR 修复(0b5d96d40):Dartdoc 迁移现在会幂等补齐并登记产品级/Reference 导航 meta,使局部 navScope 能被页树解析。迁移测试 29/29、类型检查、Biome、脚本语法检查通过,待文档团队复测。 |
|
#799 已在本 PR 原分支修复( |
|
Issue #819 已修复并推送: |
Summary
Closes #696.
Implements the Flutter/Dartdoc generated HTML migration lane as a semantic renderer stacked on the TypeDoc base branch:
index.json, keeping primary library/class/enum/etc. entries inmeta.jsonwhile writing member detail pages as hidden routes for stable link rewrites__404error.html,flutter_main_page.html, andlibrary-index.htmlout of primary navigation.htmland.html#anchorlinks to migrated routesindex.jsonnavigation, helper filtering, class/member rendering, hidden member routes, parameter tables, and implementation blocksVerification
bun x biome format --write scripts/html-to-md-migration.mjs scripts/html-to-md-migration.test.ts scripts/html-migrationnode --check scripts/html-to-md-migration.mjsbun run test scripts/html-to-md-migration.test.tsbun x biome check scripts/html-to-md-migration.mjs scripts/html-to-md-migration.test.ts scripts/html-migrationbun run types:checknode scripts/html-to-md-migration.mjs --source /Users/czhen/Documents/GitHub/AgoraIO/shengwang-doc-source/html-docs/agora-chat/Flutter --output /tmp/check-dartdoc-agora-chat-dry --product agora-chat --platform flutter --route-base-path /zh-CN/api-reference --dry-runnode scripts/html-to-md-migration.mjs --source /Users/czhen/Documents/GitHub/AgoraIO/shengwang-doc-source/html-docs/agora-chat/Flutter --output /tmp/check-dartdoc-agora-chat-full --product agora-chat --platform flutter --route-base-path /zh-CN/api-referencenode scripts/html-to-md-migration.mjs --source /Users/czhen/Documents/GitHub/AgoraIO/shengwang-doc-source/html-docs/rtc/Android --output /tmp/check-dita-rtc-android-dartdoc-branch --product rtc --platform android --route-base-path /zh-CN/api-reference --dry-runbun run teststill fails on existing baseline failures outside this change: legacy sitemap audit count/stale-rule expectations,DocsShell.test.tsxmobile section menu expectation, and docs content regression expectations.Stacking
Base:
codex/html-migration-typedoc/ PR #698.