Skip to content

Commit

Permalink
fix: remove leading underscore from file names (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed Sep 25, 2021
1 parent ecdaaff commit bb5e4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typedoc-plugin-markdown/src/theme.ts
Expand Up @@ -156,7 +156,7 @@ export class MarkdownTheme extends Theme {
this.getUrl(reflection.parent, relative) + this.filenameSeparator + url;
}

return url;
return url.replace(/^_/, '');
}

applyAnchorUrl(reflection: Reflection, container: Reflection) {
Expand Down

0 comments on commit bb5e4e3

Please sign in to comment.