nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

docs: update keyword #2426

Closed Barbapapazes closed 10 months ago

Barbapapazes commented 10 months ago

🔗 Linked issue

fix #1523

❓ Type of change

📚 Description

This solve the issue but content with a _draft set to true will still be bundled. Maybe @ratismal, you could create PR that avoid bundling _draft content.

📝 Checklist

nuxt-studio[bot] commented 10 months ago

Live Preview ready!

Name Edit Preview Latest Commit
Content Edit on Studio ↗︎ View Live Preview a50689ef1a8a634ce9e520b2d8ca3901b39284db
Ratismal commented 10 months ago

This doesn't actually resolve anything in #1523 - That issue is specifically about excluding drafts, whereas this just nitpicks the doc but provides no solutions.

From a usability standpoint, I can't personally get behind switching the documentation from draft to _draft, especially when no other properties are prefixed with an underscore. The better way about this in my opinion is to fix the underlying behaviour so that the documentation is correct.

Also being clear, I'm more than happy to spin up a PR with a potential solution. However, as my comment stated, I wanted more feedback on what a good approach would be before doing that.