Skip to content

docs: examples now have the declared argument order #3493

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

Merged
merged 1 commit into from
Aug 4, 2025

Conversation

andrefmonteiro
Copy link
Contributor

Improves the examples, following the order of the parameters declared on Content type.

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

The Content type declaration, included on the defineCollection() section, has the params type and source, whose order is switched on the examples used throughout the page.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Fixes the examples, following the order of the parameters declared on Content type
Copy link

vercel bot commented Aug 1, 2025

@andrefmonteiro is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

pkg-pr-new bot commented Aug 1, 2025

npm i https://pkg.pr.new/@nuxt/content@3493

commit: 1b8e911

@farnabaz farnabaz merged commit 0afd2ac into nuxt:main Aug 4, 2025
3 of 4 checks passed
@andrefmonteiro andrefmonteiro mentioned this pull request Aug 4, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants