withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.93k stars 2.49k forks source link

feat: support new location for content config #12475

Closed ascorbic closed 1 day ago

ascorbic commented 3 days ago

Changes

Adds support for content config files in src/content.config.*. This means there no longer needs to be a src/content folder.

Fixes PLT-2649

Testing

Config files moved for most fixtures, though with some legacy collections kept in the old location to ensure test coverage.

Docs

Docs will need updating with the new location, as eventually will templates etc.

changeset-bot[bot] commented 3 days ago

🦋 Changeset detected

Latest commit: c70d1813973b7abed639ed3478bcf5a42c046d1e

The changes in this PR will be included in the next version bump.

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