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
@@ -58,15 +59,11 @@ class ClerkRouter extends MemberRouter {
58
59
}
59
60
60
61
/**
61
-
* `@inline` marks types that should be expanded at use sites, not documented as their own page.
62
+
* `@inline` marks types that should be expanded at use sites, not documented as their own page unless `@standalonePage` is also set (see `standalone-page-tag.mjs`).
62
63
* TypeDoc still assigns `fullUrls` for exported aliases, so we also strip links in the theme's `referenceType` partial (`custom-theme.mjs`).
@@ -1089,12 +1090,12 @@ class ClerkMarkdownThemeContext extends MarkdownThemeContext {
1089
1090
*/
1090
1091
declarationTitle: ()=>'',
1091
1092
/**
1092
-
* TypeDoc's default links every {@link ReferenceType} to a URL. Types marked `@inline` are expanded at use sites and (via the router) have no standalone page — linking produces broken relative `.mdx` paths in extracted method docs. Render the **aliased type** (RHS) so literals and unions show as `'phone_code'`, not `PhoneCodeStrategy`.
1093
+
* TypeDoc's default links every {@link ReferenceType} to a URL. Types marked `@inline` are expanded at use sites and (via the router) have no standalone page — linking produces broken relative `.mdx` paths in extracted method docs. Render the **aliased type** (RHS) so literals and unions show as `'phone_code'`, not `PhoneCodeStrategy`, unless `@standalonePage` is set (`standalone-page-tag.mjs`).
@@ -1048,7 +1049,7 @@ function unwrapOptionalParamType(t) {
1048
1049
1049
1050
/**
1050
1051
* When TypeDoc renders a parameter type as a markdown link to another generated `.mdx` file, that type has a dedicated page — omit nested `param?.prop` rows so readers follow the type link instead.
1051
-
* `@inline` aliases are expanded by the theme and do not link to a standalone page.
1052
+
* `@inline` aliases are expanded by the theme and do not link to a standalone page unless `@standalonePage` is set (`standalone-page-tag.mjs`).
1052
1053
*
1053
1054
* @param {import('typedoc').SomeType | undefined} t
* Modifier tag: keep a dedicated `.mdx` page even when `@inline` is present (TypeDoc + our router otherwise drop inline-marked declarations; the theme also expands references instead of linking).
0 commit comments