mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(docs-infra): Handle additional description format
Ex: https://angular.dev/api/router/withExperimentalPlatformNavigation
This commit is contained in:
committed by
Alon Mishne
parent
b885851cbe
commit
f0b1061791
@@ -24,6 +24,8 @@ export function extractJsDocTags(node: ts.HasJSDoc): JsDocTagEntry[] {
|
||||
return ts.getJSDocTags(escapedNode).map((t) => {
|
||||
return {
|
||||
name: t.tagName.getText(),
|
||||
// In TS 5.9, ts.getTextOfJSDocComment still strips "http" from comments breaking any absolute links in @see blocks.
|
||||
// eg: @see https://angular.dev
|
||||
comment: unescapeAngularDecorators(ts.getTextOfJSDocComment(t.comment) ?? ''),
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user