Allow sidebar groups to have their own content #2492
lucasmdjl
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Thanks for the feedback. Just for reference and add some initial context to the discussion, linking to this comment which describes the current reasoning regarding the current behavior:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?0.28.3
What is your idea?
Allow groups in the sidebar to not just group pages together, but also have a page of their own you can read when you click the group.
Why is this feature necessary?
Right now, you can have an index.mdx in a group and with the automatic configuration, it gets translated into a new page with the slug of the group, the title of the group, but a different entry in the sidebar. I think, I would be cleaner to have the index.mdx of the group (if present) be a page associated with the group itself, not just another page inside the group. This will help introduce different sections of the documentation in a safer and more concise way. For instance, the approach I'm using in my documentation is to label index as Overview, and then also manually edit the prev and next attributes of the following and previous pages to be the section name, which can lead to errors when pages are reordered or if the section is renamed.
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions