docs: Content Layer API Example small fix#11814
Conversation
small fix to example
🦋 Changeset detectedLatest commit: 52911f2 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 |
|
We need to ping @withastro/maintainers-docs as instructed by Contrib guide after merged. |
sarah11918
left a comment
There was a problem hiding this comment.
Approving for docs, and updated branch hoping the tests pass this time!
|
Note: added a changeset because this will correct a code example in config ref docs, and should be released as corrected documentation for the content layer API |
|
I know this is a ridiculously small patch but it's my first one. So let me feel proud for a quick moment. :) Thanks a lot for merging and for all the work you guys do. I love Astro and it has rekindled my interest in frontend work. I'm looking forward to my next PR. |
|
@eduardocereto thanks for the fix! I made the same error in the release blog and did spot that in time, but missed this one entirely |
Description
It's a small error in an example of content-collections on page
https://docs.astro.build/en/reference/configuration-reference/
I'm fixing it here because after diving into the docs repo it seems the data comes canonically from these comments.
Changes
A single comment string change to fix an example that uses the wrong variable.
Testing
None. Only changes to doc strings
Docs
We're fixing docs here, no docs needed.