-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
Given I have a document structure like this:
my-folder/
index.md
some-unlisted-doc.md
another-unlisted-doc.md
third-unlisted-doc.md
and all child documents except index.md have "unlisted" annotations:
---
unlisted: true
---The sidebar dropdown caret and the DocCardList components still behave as if there are listed child pages.
The dropdown caret does nothing as child pages are unlisted.
Expected behaviour: those pages are unlisted so there should not be any recognised child pages.
Reproducible demo
No response
Steps to reproduce
- Add unlisted child pages to a folder with an index.md page
- Open the docs page
Expected behavior
Dropdown caret should not show, DocCardList should render index.md contents
Actual behavior
It behaves like it should with listed child pages
Your environment
- Docusaurus version used: 3.7.0
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainersThis issue has not been triaged by maintainers