-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astro 5 + collection loaders + legacy collections support #2612
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's happening! Some thoughts for your consideration
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here goes nothing!
5k GitHub Stars, 5k “used-by” projects on GitHub, we must be ready for Astro 5k 🚀
Massive thanks to @HiDeoo for guiding this work and starting our new adventures with ✨ Content Layer ✨
Description
This PR is a draft adding Astro 5 support to Starlight, adding collection loaders for our content collections and support for legacy collections.
The first goal was to get everything working with Astro 5. There is room for improvements and potential refactoring, but the goal was to get everything in place first to get a better overview of what needs to be done and later iterate on it.
The MDX dependency case is temporarily workaround by making it a peer dependency of Starlight and installing it manually everywhere it's needed until we have a better solution (in discussion).Note that the collection locations are not yet user-configurable.
Remaining tasks
// TODO(HiDeoo)
comments are addressed and removed@astrojs/starlight
in some packages (see changesets for the one that needs an update)code.mdx
files@lunaria-ignore:src/content/docs/**/code.mdx;src/content/docs/code.mdx;