feat: Add accordion functionality to 'In This Chapter' section
- Implemented custom gitbook-plugin-toc-accordion plugin
- Added toggle functionality to show/hide TOC content
- Accordion is open by default for better UX
- Added visual arrow indicator that rotates on toggle
- Persistent state using localStorage
- Keyboard accessible (Enter/Space keys)
- Smooth CSS transitions and hover effects
- ARIA attributes for screen reader support
Fixes issue: No option to hide 'In This Chapter' section Improves UX on pages with extensive content
@vivekvernekar26 is attempting to deploy a commit to the Suman Kunwar's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| learn-javascript | Nov 22, 2025 1:00pm |
@vivekvernekar26 Thanks for the PR, it seems the addition of the toc-accordion is causing problem in the build? Can you have a look into it when you have time?
Closing this since there hasnβt been any activity for over a month. Youβre welcome to reopen the PR anytime.