fix(repo): Add standalonePage tag for JSDoc comments#8524
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
SarahSoutoul
left a comment
There was a problem hiding this comment.
This looks good!
One non-blocking follow-up: we may want to add .typedoc/standalone-page-tag.mjs to the Typedoc inputs in turbo.json so Turbo invalidates the cache when that script changes.
oh cool! done 9e29238 |
Description
We were getting errors that certain files weren't being generated anymore. More information here: #8276 (comment)
This PR adds a


@standalonePagetag that can be used in conjunction with the@inlinetag to indicate to typedoc to still generate a dedicated page for that type, even though it is recognized as@inline. Using both of these tags means that the type will show up as inlined in a table, but will also still have a generated MDX file.For example:
HookParamswill be inlined in a table:but will still get a generated
shared/hook-params.mdxfile that can then be used in the docs:Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change