Skip to content

feat(docs-api): add API snapshot reference resolution and improve translation pipeline - #6

Merged
yiiqii merged 2 commits into
mainfrom
feat/api-snapshot-reference
Nov 9, 2026
Merged

yiiqii merged 2 commits into
mainfrom
feat/api-snapshot-reference

Conversation

@yiiqii

@yiiqii yiiqii commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor
  • Add snapshot-reference module to resolve JSON $ref indirection for API snapshots
  • Refactor apply.ts with ApplyOutput type, localizedProject fallback, and snapshot grouping
  • Enhance extract.ts, assemble.ts, and generate.ts for snapshot reference support
  • Improve docs-site api-type-reference.tsx rendering and api-typedoc-detail component
  • Update api-client with snapshot reference handling
  • Bump all packages from 0.0.6 to 0.0.7
  • Update READMEs (EN/zh_CN) and api-documentation-translation SKILL.md
  • Add and update tests for snapshot reference and translation behavior
  • Add orphaned API snapshot cleanup

…nslation pipeline

- Add snapshot-reference module to resolve JSON $ref indirection for API snapshots
- Refactor apply.ts with ApplyOutput type, localizedProject fallback, and snapshot grouping
- Enhance extract.ts, assemble.ts, and generate.ts for snapshot reference support
- Improve docs-site api-type-reference.tsx rendering and api-typedoc-detail component
- Update api-client with snapshot reference handling
- Bump all packages from 0.0.6 to 0.0.7
- Update READMEs (EN/zh_CN) and api-documentation-translation SKILL.md
- Add and update tests for snapshot reference and translation behavior
Add snapshot-cleanup module that deletes content-addressed API snapshots
no longer referenced by any retained manifest version. Wire automatic
cleanup into 'api generate' and 'api apply' after manifest updates, and
expose a new 'api snapshots clean' CLI subcommand. Export
resolveAPISnapshotReference for reuse and update tests and READMEs.
@yiiqii
yiiqii requested a review from wumaolinmaoan November 9, 2026 06:14
@yiiqii
yiiqii merged commit da89c41 into main Nov 9, 2026
@yiiqii
yiiqii deleted the feat/api-snapshot-reference branch November 9, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants