diff --git a/packages/docusaurus-theme-common/src/utils/docsUtils.tsx b/packages/docusaurus-theme-common/src/utils/docsUtils.tsx index dfe0f24dc90c..597a5dea3e50 100644 --- a/packages/docusaurus-theme-common/src/utils/docsUtils.tsx +++ b/packages/docusaurus-theme-common/src/utils/docsUtils.tsx @@ -177,7 +177,7 @@ export function isVisibleSidebarItem( // An unlisted item remains visible if it is active return !item.unlisted || isActiveSidebarItem(item, activePath); default: - return false; + return true; } }