-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
sidebar.json does not allow for subcategories #410
Comments
@Fl4m3Ph03n1x Hi! Just so I am clear, you want a sidebar that looks something like:
If so, not sure this a bug more of a feature request. Just like with links to anchors in the sidebar, etc. this is a reasonable request. Thanks! |
OHhh, I assumed it was possible but that it was not working as intended. Feature Request it is then! Feel free to check my basic github repo for additional information, I did it with all the coding love in the world :P Anyway, thanks for acknowledging this ticket! I look forward to seeing this feature implemented ! PS: Now that we established that this is a FR, what are the next steps? Is there any process ? |
Hi @Fl4m3Ph03n1x - You are welcome 😄 The process would be to implement this feature. Would love a PR; otherwise, it will most likely come when we do our next feature set for Docusaurus. Or if I just get some time to do it before that. |
Hello @JoelMarcey , |
@diboy2 Hi! I would love it if you wanted to send a PR for this feature. I am a bit confused on the screenshot though. I see a bunch of duplicates in there. For example, why do I see "Site Preparation" three times. |
@JoelMarcey Hello there! I am a newbie who is using docusaurus, I have learned and have created my own website, of course, including the sidebar, but now I want to implement the subdirectory after clicking on the directory in the sidebar, again Let it shrink when clicked. The official documentation of the use of JS makes me confused, I hope you can help me, thank you. |
@XzMitsui Since this issue is still open, I would assume the feature you are asking was not yet implemented. |
@Fl4m3Ph03n1x Yes,it is. I tried it many times and it didn't work, and a development and maintenance person told me that this feature has not been implemented. |
Make up your mind. Either it is implemented or it isn't. |
@Fl4m3Ph03n1x I don't understand what you mean. I mean, I didn't have a solution after trying it, and then opened up a new Issues, and a maintenance person told me so. |
It doesn't look like this is being worked on so I'll work on implementing this. |
Thanks @WillBrock! We've added an "issue: claimed" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that we can remove the label and free it up for someone else to claim. We will check in with you periodically so that we can keep the task updated with the progress. |
Is this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment
OS: MacOS High Sierra
Node: 8.6.0
npm: 5.6.0
Steps to Reproduce
sidebar.json
:Expected Behavior
I would expect to see the documentation page with a sidebar that contains subcategories.
Actual Behavior
Site blows up with the following error:
Reproducible Demo
Here is a link to a demo that demonstrates the issue. Simply copy, run
npm i
on the website folder and you are ready to go:https://github.com/Fl4m3Ph03n1x/docusaurus-bug-report
The text was updated successfully, but these errors were encountered: