* @param {typedoc.RouterTarget} target * @returns {string}
(target)
| 45 | * @returns {string} |
| 46 | */ |
| 47 | getAnchor(target) { |
| 48 | if (target instanceof typedoc.DeclarationReflection && |
| 49 | target.kindOf(typedoc.ReflectionKind.Property) && |
| 50 | !hasComment(target) |
| 51 | ) { |
| 52 | return ""; |
| 53 | } else { |
| 54 | // Must use `toLowerCase()` because Mintlify generates lower case IDs for Markdown headings. |
| 55 | return super.getFullUrl(target).replace(".html", "").replaceAll(/[./#]/g, "-").toLowerCase(); |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | /** |
no test coverage detected