-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapsus - The Collapsible Menu #1084
Comments
Yes.this is indeed.this would be an awesome feature.I also want to show a huge list of content in the side bar.without the expand collapse option the huge list would be ugly |
Are there any plans to consider using React to add interactivity? Or should this be worked on using script injection?
|
@tsmrachel that's our plan for Docusaurus v2 You can read on #789 or https://docusaurus.io/blog/2018/09/11/Towards-Docusaurus-2 Instead of pure static HTML, during build time we will create a server-rendered version of the app and render the corresponding HTML. A Docusaurus site will be essentially an isomorphic/universal application. This approach is heavily inspired by Gatsby. |
I could see this being useful for Redux as well. |
I would prefer a multiple level treeview structure as implemeted with readthedocs than just a single or 2 level collapsable menu as give in the examples given by @clearwaterstream |
* feat : #1084 Collapsus - The Collapsible Menu * updated docs * fixed prettier * fix for category not auto-expanding upon navigating to a subcategory under it * as requested by endiliey. Do not merge this commit. * Update api-site-config.md * Update guides-navigation.md * Update SideNav.js * Update main.css * Update SideNav.js * Delete subcategory1.md * Delete subcategory2.md * Update sidebars.json
This has been released in 1.7.1. |
Awesome, much thanks!!! |
🚀 Feature
Collapsible menu . Sub-categories will get collapsed under the main categories. Examples: https://reactjs.org/docs/getting-started.html or https://docs.gitbook.com/getting-started
Have you read the Contributing Guidelines on issues?
Yes I have
Motivation
We have a sizable amount of content and having a large (expanded) menu would overwhelm a user upon visiting our documentation area. Those with weaker nerves may get spooked and run away from our site.
Pitch
We have an "enterprise" level product which comes with sizable documentation. I am sure we are not the only ones. I think having this feature would attract other companies who have similar documentation requirements. Let the Collapsus out!
Thanks!!
The text was updated successfully, but these errors were encountered: