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
The @linkcode and @link tags in symbol descriptions should generate a link with and without a <code> tag around the specified text, respectively.
This provides clear and navigable links within the documentation. Since the individual symbol pages handle these JSDoc tags as expected, I would also expect for the "all symbols" page to do the same.
Actual Behavior
The @link and @linkcode tags are not handled correctly on the "all symbols" pages, and end up rendered without any hyperlink at all, and two instances of the linked symbol name.
For example, {@link TrimLeft} renders as TrimLeft | TrimLeft, and {@linkcode TrimLeft} renders as <code>TrimLeft</code> | TrimLeft (with no links in either).
All Symbols
Individual Symbol
Documented Code
This is the code that the documentation was generated from in the above screenshots:
/** * See {@link TrimLeft} for the type equivalent. See {@linkcode TrimLeft} * for the type equivalent. */exportfunctiontrimLeft(value: string): string{returnvalue.replace(/^\s+/,"");}/** * See {@link trimLeft} for the runtime equivalent. See {@linkcode trimLeft} * for the runtime equivalent. */exporttypeTrimLeft=(value: string)=>string;
Thanks for your time.
The text was updated successfully, but these errors were encountered:
We have a patch that already landed (#580) that fixes the high-level issue that its rendered double. however linking itself is a separate issue thats trickier, and has a todo:
Deno Version
Expected Behavior
The
@linkcode
and@link
tags in symbol descriptions should generate a link with and without a<code>
tag around the specified text, respectively.This provides clear and navigable links within the documentation. Since the individual symbol pages handle these JSDoc tags as expected, I would also expect for the "all symbols" page to do the same.
Actual Behavior
The
@link
and@linkcode
tags are not handled correctly on the "all symbols" pages, and end up rendered without any hyperlink at all, and two instances of the linked symbol name.For example,
{@link TrimLeft}
renders asTrimLeft | TrimLeft
, and{@linkcode TrimLeft}
renders as<code>TrimLeft</code> | TrimLeft
(with no links in either).All Symbols
Individual Symbol
Documented Code
This is the code that the documentation was generated from in the above screenshots:
Thanks for your time.
The text was updated successfully, but these errors were encountered: