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
Removes the `DocNode = Declaration & { name }` compatibility adapter and the
`{ ...declaration, name }` re-attachment introduced during the v2 upgrade. The
renderer now consumes v2's model directly: a `DocPageSection` holds a raw
`Declaration`, and the render helpers receive the owning symbol's identity via
`type SymbolInfo = Omit<Symbol, "declarations">` — sourced from the real
`Symbol` at build time and from `{ name: page.name }` at render time.
- `extract(declaration, symbol)`, `Type({ declaration, symbol })`,
`exportHash(declaration, symbol, i)`; `DocPageSection.node` → `declaration`.
- Namespace members recurse over `NamespaceDef.elements` (real member Symbols)
instead of synthesizing flat nodes.
- `DocPage.name` is kept (many call sites read it); `SymbolInfo` flows only
through the render helpers.
- Both docs paths updated (`package.ts` and the `/x` `package/node.ts`).
No rendered-output change (verified: API pages, experimental pages, and `/x`
contrib pages render identically).
0 commit comments