You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closed: duplicateThis issue or pull request already exists in another issue or pull requestfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.
What do you mean by "the content of the toolbar instead". I don't think I see how this should work, and what to display exactly 🤪
Why do you want to link to a specific sidebar category?
Do you think we should create a dedicated page for each sidebar category? How would the user discover this feature? (I mean, clicking on a category in the sidebar expands the collapsible, it does not navigate)
Yes, actually I think that the sidebar category should have a page.
That page can be auto generated from the sidebar items.
Extra points if you allow the user to customize it.
In some cases I actually manually created such a landing page, but I would really prefer that it would be associated with the category itself and not a page in it.
Not sure about discoverability, it's a good point.
However, in many cases I find myself wanting to link to a category and not to the first page in it. an example is a tutorial.
Let's customize the About category.
I am going to put down some half-pseudo code, half-copy-page abomination.
I don't know enough react to make it valid.
closed: duplicateThis issue or pull request already exists in another issue or pull requestfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Activity
slorber commentedon Jul 13, 2020
Hi,
What do you mean by "the content of the toolbar instead". I don't think I see how this should work, and what to display exactly 🤪
Why do you want to link to a specific sidebar category?
Do you think we should create a dedicated page for each sidebar category? How would the user discover this feature? (I mean, clicking on a category in the sidebar expands the collapsible, it does not navigate)
omry commentedon Jul 13, 2020
Yes, actually I think that the sidebar category should have a page.
That page can be auto generated from the sidebar items.
Extra points if you allow the user to customize it.
In some cases I actually manually created such a landing page, but I would really prefer that it would be associated with the category itself and not a page in it.
Example:
https://hydra.cc/docs/next/tutorials/intro
Not sure about discoverability, it's a good point.
However, in many cases I find myself wanting to link to a category and not to the first page in it. an example is a tutorial.
slorber commentedon Jul 14, 2020
That's an interesting.
How would you see the api for customizing this page working?
What do you want on this page by default?
A flat list of docs?
Or should it show nested categories?
omry commentedon Jul 14, 2020
Let me start by specifying a few requirements I think exists to make this useful:
Initial API proposal:
Let's customize the About category.
I am going to put down some half-pseudo code, half-copy-page abomination.
I don't know enough react to make it valid.
website/src/pages/sidebar/About.jsx
omry commentedon Jul 14, 2020
ideally we would have something better to name the file after than the text in the sidebar, but I don't think sidebar items has an id right now.
As for your last question:
I think it should just one level, potentially with navigation that allow movement to the parent or into a sub category.
slorber commentedon Jul 20, 2020
This issue seems related to #2643
slorber commentedon Jul 29, 2020
closing as #2643 is enough to track this