Skip to content

Commit

Permalink
fix sidebar autogen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Apr 20, 2021
1 parent 876aa45 commit 56a9045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const DefaultSidebarItemsGenerator: SidebarItemsGenerator = async functio
}): Promise<SidebarItemCategory & WithPosition> {
const categoryDirPath = path.join(
version.contentPath,
item.dirName,
item.dirName, // fix https://github.com/facebook/docusaurus/issues/4638
breadcrumb.join(BreadcrumbSeparator),
);

Expand Down

0 comments on commit 56a9045

Please sign in to comment.