Support _meta.yaml
files in document directories for flexible sidebar configuration
#3353
Closed
tolg
started this conversation in
Feature Requests
Replies: 1 comment
-
Thanks for the feedback. Such feature is currently available using a plugin available here. You can find in the plugin documentation how to get started with it and all the metadata you can use. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.34.4
What is your idea?
Add support for
_meta.yaml
files in document directories that follow the exact same YAML syntax and structure as MD file frontmatter, enabling centralized sidebar configuration with custom directory titles, file ordering, and metadata management while reducing the need for frontmatter in individual MD files.Why is this feature necessary?
Currently, Starlight's sidebar configuration is limited to either:
astro.config.mjs
sidebar.order
in individual MD files' frontmatterThis approach becomes cumbersome and inflexible for large documentation projects where teams need to:
Core Problems to Solve
title
in frontmatter🚀 Target Benefits
For Large Documentation Projects:
For Content Teams:
_meta.yaml
filesFor Developer Experience:
📋 Real-world Impact
This feature would transform how teams manage documentation:
The implementation aligns perfectly with Starlight's philosophy of being both powerful and easy to use - maintaining simplicity for small projects while providing the flexibility needed for enterprise-scale documentation.
Do you have examples of this feature in other projects?
• Docusaurus: Uses _meta.json files in document directories for sidebar configuration
• VuePress: Supports .vuepress/config.js with flexible sidebar configuration
• GitBook: Allows sidebar configuration through SUMMARY.md files in document directories
Participation
Beta Was this translation helpful? Give feedback.
All reactions