Adding all samples for badges in sidebar as example#2881
Adding all samples for badges in sidebar as example#2881delucis merged 14 commits intowithastro:mainfrom
Conversation
added all variants as a preview.
|
|
Hello! Thank you for opening your first PR to Starlight! ✨ Here’s what will happen next:
|
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
|
✅ Deploy Preview for astro-starlight ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Hello and welcome to the Starlight project! Thank you for taking the time to create such a detailed Pull Request! I'm not one of the maintainers, but I generally think that they want to keep the documentation as simple as possible. Looking at the differences between the current documentation and this request, I think that we can agree that your request takes up more space then the current docs:
In my opinion this is not necessary because if the reader wants to look at all the different Badges, they can just go to the Badges page and under the Usage section, they can see all the Badges available: https://deploy-preview-2881--astro-starlight.netlify.app/components/badges/#usage So personally, I think that it is not necessary to list all the Badge variantes on the Sidebar Navigation page, because there is already an exclusive page for all the props and things regarding Badges. Moreover, I really think that the documentation should not be too bloated and more subtle and discreet. I really like the section as it is (just my thoughts). One last thing to notice:
|
Touché, I did not see this other page. Maybe we could agree that a link to this other section could be useful?
That would have helped me not come up with this suggestion here. Or even leaner: What do you think? |
|
I agree that a link could not hurt anyone, I like both examples, maybe a combination of the things I like from both:
(Not the entire sentence is a link + its lean as you said) Now it's up to the maintainers to decide... ⌛ In the meantime you could adjust the changes, remove the changeset and edit the title and description if you want... Or you wait until one of the maintainers says what would be best... As you like! |
Will do. |
Erased changeset. |
Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
|
@trueberryless Good catch. Sorry for missing that. |
SnowDingo
left a comment
There was a problem hiding this comment.
Thank you @mseibert for your contribution!
I agree with your latest changes, and I think the addition of the link makes the documentation more concise and also user-friendly.
Because I am not a Starlight maintainer, I can't merge this but I would approve this PR.
Thank you!!
SnowDingo
No problem, looks good to me now! 🎉 |
* main: (493 commits) i18n(de): update `sidebar.mdx` (withastro#2900) Adding all samples for badges in sidebar as example (withastro#2881) i18n(fr): fix highlighting in `reference/plugins.md` (withastro#2898) i18n(fr): update `reference/plugins` & `guides/i18n` (withastro#2886) i18n(fr): update `reference/overrides` & `guides/sidebar` (withastro#2887) i18n(fr): add `guides/route-data` and `reference/route-data` (withastro#2884) i18n(fr): update `guides/overriding-components` (withastro#2885) i18n(fr): update `reference/configuration` (withastro#2888) i18n(de): update German translation with withastro#2578 (withastro#2882) [ci] format i18n(ru): update some translations (withastro#2895) i18n(de): update `reference/configuration.mdx` (withastro#2883) [ci] format i18n(ko-KR): update `configuration.mdx` (withastro#2892) i18n(ko-KR): update `overrides.md` (withastro#2893) i18n(ko-KR): update `overriding-components.mdx` (withastro#2890) i18n(ko-KR): update `i18n.mdx` and `plugins.md` (withastro#2889) [ci] format i18n(ko-KR): create `guides/route-data.mdx` and `reference/route-data.mdx` (withastro#2896) i18n(ko-KR): update `/resources/plugins.mdx` (withastro#2894) ...





Description
Deeplink: https://deploy-preview-2881--astro-starlight.netlify.app/guides/sidebar/#badge-variants-and-custom-styling