-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Title
notesSidebar causes crash — folder not linked properly in navbar
Issue
When running the project locally, the site crashes with the error:
"Sidebar with ID 'notesSidebar' doesn't have anything to be linked to"
This happens because the notesSidebar configuration cannot locate the corresponding folder or files.
Steps to Reproduce
- Clone the repository.
- Install dependencies using
npm install. - Run the project locally with
npm start. - Observe the crash in the browser when the navbar tries to load the
notesSidebar.
Current Behavior
- The site fails to load and displays an error instead of rendering the Notes section.
Expected Behavior
- The Notes section should load properly, displaying all markdown files in the
notesfolder without crashing the page.
Screenshot
Proposed Fix
- Verify that the
dirNameinsidebars.tsmatches the actual folder name in thedocsdirectory (case-sensitive). - Ensure that the
notesSidebaris correctly linked in the Docusaurus configuration so it can load the markdown files from thenotesfolder without errors.
Expected behavior
When running the project locally and clicking the Notes navbar item, the corresponding documentation from the
notesfolder should load without errors, displaying all 6 markdown files in the sidebar.
Add ScreenShots
On which device are you experiencing this bug?
Windows
Record
- I have read the Contributing Guidelines
- I'm a GSSOC contributor
- I have starred the repository
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working