You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate generated HTML API migration lanes against real legacy sources #697
Run and document an end-to-end validation matrix for the generated HTML API migration lanes. This issue should confirm that the lane implementations are not merely producing files, but are producing navigable, Fumadocs-compatible API reference content with acceptable fidelity against representative real legacy sources.
Acceptance criteria
Run dry-run and full /tmp migration for representative DITA/Oxygen, TypeDoc, Doxygen/Javadoc, iOS doc-generator, and Dartdoc sources.
Confirm each output contains index.mdx, meta.json, and expected symbol/page MDX files.
Audit generated navigation for obvious helper-page pollution, broken symbol names, duplicate entries, and missing landing pages.
Audit sample pages from each lane for signatures, parameters, return values, enum/member docs, notes, code blocks, tables, stable anchors, and internal link rewrites.
Copy at least one representative output per lane into a disposable docs-portal validation location and run bun run types:check.
Produce a concise validation report with commands, counts, sample files checked, known gaps, and follow-up recommendations.
Keep REST/OpenAPI explicitly out of scope and verify those sources still route to the OpenAPI lane or fail with guidance.
Pre-validation already run against representative real sources from /Users/czhen/Documents/GitHub/AgoraIO/shengwang-doc-source:
Lane
Source
Detection
Input files
Planned outputs
Full output
DITA/Oxygen
html-docs/rtc/Android
DITA-OT/Oxygen API reference (API/ directory)
249
251
250 MDX + 1 meta
TypeDoc
html-docs/flexible-classroom/Web
TypeDoc HTML reference
398
407
402 MDX + 5 meta
Doxygen/Javadoc
html-docs/recording/cpp
Doxygen/Javadoc HTML reference
37
39
38 MDX + 1 meta
iOS doc-generator/appledoc
html-docs/whiteboard/iOS
iOS-doc-generator HTML reference
61
75
68 MDX + 7 meta
Dartdoc
html-docs/agora-chat/Flutter
Dartdoc HTML reference
817
902
816 MDX + 86 meta
Additional checks completed locally:
REST/OpenAPI source html-docs/whiteboard/RESTful exits nonzero with the expected unsupported-source guidance.
All five generated outputs were copied into a disposable subtree under content/docs/zh-CN/api-reference/__html-migration-validation/, then bun run types:check passed. The temporary subtree was removed afterward.
bun x biome check package.json scripts/validate-html-api-migration.mjs docs/agents/reports/2026-07-09-html-api-migration-validation-matrix.md
bun run html:migration:validate
The matrix runner validated representative real sources for DITA/Oxygen, TypeDoc, Doxygen/Javadoc, iOS doc-generator/appledoc, and Dartdoc, copied outputs into a disposable docs subtree for types:check, and verified REST/OpenAPI stays out of scope with guidance.
Closing as superseded. The original HTML migration stack was not merged and has been replaced by the API Center migration delivered in PR #847, including the maintained migration pipeline, navigation generation, provenance checks, and link/fragment audits.
Activity
shczhen commentedon Jul 9, 2026
Pre-validation update, 2026-07-09.
Keep the lane PRs open for review; do not merge as part of this validation note.
Current stacked PR state:
Pre-validation already run against representative real sources from
/Users/czhen/Documents/GitHub/AgoraIO/shengwang-doc-source:html-docs/rtc/AndroidDITA-OT/Oxygen API reference (API/ directory)html-docs/flexible-classroom/WebTypeDoc HTML referencehtml-docs/recording/cppDoxygen/Javadoc HTML referencehtml-docs/whiteboard/iOSiOS-doc-generator HTML referencehtml-docs/agora-chat/FlutterDartdoc HTML referenceAdditional checks completed locally:
html-docs/whiteboard/RESTfulexits nonzero with the expected unsupported-source guidance.content/docs/zh-CN/api-reference/__html-migration-validation/, thenbun run types:checkpassed. The temporary subtree was removed afterward.Current recommendation for this issue:
scripts/html-to-md-migration.mjs.Pages writtencount for nested output trees.Local evidence note: detailed logs are under
/tmp/html-migration-matrix/logs/on the validation machine.shczhen commentedon Jul 9, 2026
Final validation PR opened and kept open for review: #704
Current stack:
main.codex/html-migration-typedoc.codex/html-migration-doxygen.codex/html-migration-ios.codex/html-migration-dartdoc.Validation in #704:
node --check scripts/validate-html-api-migration.mjsbun x biome check package.json scripts/validate-html-api-migration.mjs docs/agents/reports/2026-07-09-html-api-migration-validation-matrix.mdbun run html:migration:validateThe matrix runner validated representative real sources for DITA/Oxygen, TypeDoc, Doxygen/Javadoc, iOS doc-generator/appledoc, and Dartdoc, copied outputs into a disposable docs subtree for
types:check, and verified REST/OpenAPI stays out of scope with guidance.shczhen commentedon Jul 29, 2026
Closing as superseded. The original HTML migration stack was not merged and has been replaced by the API Center migration delivered in PR #847, including the maintained migration pipeline, navigation generation, provenance checks, and link/fragment audits.