Allow autogenerate sidebar from Content Layer API #2268
sergeysova
started this conversation in
Feature Requests
Replies: 1 comment 3 replies
-
Thanks for the feedback @sergeysova! We'll definitely be looking to add content layer support for when it is stable. |
Beta Was this translation helpful? Give feedback.
3 replies
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.26.1
What is your idea?
It will be very useful to load items from Content Layer API collection.
Like this:
Related discussion: withastro/roadmap#946
Why is this feature necessary?
This feature simplifies documentation maintenance by allowing developers to keep docs close to the code while still integrating them into the sidebar. It reduces fragmentation, improves consistency, and makes it easier to track what's documented.
Example scenario:
With this feature, docs can stay in their respective method folders while still appearing in the sidebar, benefiting both developers and users. It's particularly useful for large projects where documentation is critical but often neglected due to maintenance difficulties.
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions