Skip to content

fix(theme): format Extends to match doc-kit specification#133

Merged
avivkeller merged 1 commit into
webpack:mainfrom
moshams272:fix/extends-format
Jun 14, 2026
Merged

fix(theme): format Extends to match doc-kit specification#133
avivkeller merged 1 commit into
webpack:mainfrom
moshams272:fix/extends-format

Conversation

@moshams272

Copy link
Copy Markdown
Contributor

Summary

This PR resolves the Extends formatting issue mentioned in #132.

The check for model.typeHierarchy?.next to ensure that an actual inheritance tree (with at least two levels) exists before attempting to render it, and the isTarget flag (the indicator used by TypeDoc to identify the current node being documented) that prevents base classes without parents from incorrectly appearing to inherit from themselves (e.g., preventing Chunk extends Chunk).

Before:
Screenshot from 2026-06-13 07-55-17

After:
Screenshot from 2026-06-13 07-54-52

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 14, 2026 1:21am

Request Review

@avivkeller avivkeller merged commit 3600d82 into webpack:main Jun 14, 2026
4 checks passed
@moshams272 moshams272 deleted the fix/extends-format branch June 14, 2026 15:50
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