Feat: Autogenerate sidebar labels#1874
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 07c0696 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
This reverts commit 12b25eb.
|
Wow! Very nice feature, it will greatly improve the DX! I also faced this and it feels uncomfortable especially when the sidebar contains autogenerated groups and some manually added items. In this case, the autogenerated pages define their sidebar title in the Front Matter section. At the same time, the manual items should define it in the sidebar configuration. This is also bad for i18n, because the labels for manually added items should be localized separately using the Waiting for this to ship! 🚀 |
|
LGTM! |
|
I was just looking for this functionality this morning, perfect timing, and great work! Thank you 🙏 |
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Description
slugto specify the file will dynamically pull in that file's titleUpdate any relevant Starlight docs entries to move their translations out of the config and to the respective content filesThese will be done in a separate follow-up PR to not trigger i18nTODOs