docs: compact generated API reference to one file per module (977→13)#345
Merged
Conversation
The per-symbol output (977 stub files / 4.3M) was the wrong strategy for a committed reference — verbose to browse, noisy in diffs. Switch typedoc-plugin-markdown to outputFileStrategy: modules: one readable page per public module (13 files / 1.2M), signatures + TSDoc inline. Teach the freshness gate's export-universe parser to read symbols from the module-page headings (h3..h6) instead of per-symbol filenames — robust to either layout. Gate still passes + still catches drift (verified: injected ghost §2 symbol -> exit 1; docs:check -> exit 0, regen deterministic).
tangletools
approved these changes
Jun 18, 2026
tangletools
left a comment
Contributor
There was a problem hiding this comment.
✅ Auto-approved PR — b0db788e
Blanket team auto-approval is enabled for this reviewer service.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.
tangletools · auto-approval · reason: blanket_auto_approve · 2026-06-18T22:22:50Z
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #344. Per-symbol TypeDoc output was 977 stub files / 4.3M — wrong strategy for a committed reference (verbose, noisy diffs). Switch to outputFileStrategy: modules → 13 readable pages (one per public module, ~1.2M), signatures + TSDoc inline. Gate's export-universe parser now reads module-page headings (robust to either layout). Verified: docs:freshness passes + still catches injected drift; docs:check exit 0 (deterministic regen).