Skip to content

Commit

Permalink
Merge pull request #250 from mrousavy/patch-1
Browse files Browse the repository at this point in the history
fix: Fix `index` slug value
  • Loading branch information
tgreyuk committed Sep 15, 2021
2 parents a4ae1e6 + 73c0bbc commit ea9219e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-typedoc/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class DocusaurusTheme extends MarkdownTheme {
if (page.url === this.entryDocument) {
items = {
...items,
slug: '/' + path.relative(process.cwd(), this.out).replace(/\\/g, '/'),
slug: '/' + path.relative(process.cwd(), this.out).replace(/\\/g, '/') + '/index',
};
}
if (sidebarLabel && sidebarLabel !== pageTitle) {
Expand Down

0 comments on commit ea9219e

Please sign in to comment.