Skip to content

Commit

Permalink
fix(docusaurus): handle windows path separators when generating sideb…
Browse files Browse the repository at this point in the history
…ar ids (#606)
  • Loading branch information
tgreyuk committed May 4, 2024
1 parent 969d6eb commit ed7b5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-typedoc/src/plugin.ts
Expand Up @@ -81,7 +81,7 @@ async function generateTypedoc(context: any, opts: Partial<PluginOptions>) {
.relative(siteDir, outputDir)
.split(path.sep)
.slice(1)
.join(path.sep);
.join('/');

const sidebarJson = getSidebar(
output.navigation,
Expand Down

0 comments on commit ed7b5ae

Please sign in to comment.