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

typo in showURL prop #2537

Closed mathieunicolas closed 7 months ago

mathieunicolas commented 7 months ago

Correct prop is "showURL" according to the listhen package : https://www.npmjs.com/package/listhen

nuxt-studio[bot] commented 7 months ago

Live Preview ready!

Name Edit Preview Latest Commit
Content Edit on Studio ↗︎ View Live Preview 9447183d737fb512c2bead7810debf45458ba6a6
nobkd commented 7 months ago

There are more places with that in the docs:

Search: https://github.com/search?q=repo%3Anuxt%2Fcontent%20showURL&type=code

https://github.com/nuxt/content/blob/5a9e7d9d25b9bcfcf8b21e1f844cbe29d9f749c9/docs/content/1.get-started/2.configuration.md?plain=1#L363

https://github.com/nuxt/content/blob/5a9e7d9d25b9bcfcf8b21e1f844cbe29d9f749c9/docs/content/1.get-started/2.configuration.md?plain=1#L382


And the default in the docs section is even wrong:

https://github.com/nuxt/content/blob/5a9e7d9d25b9bcfcf8b21e1f844cbe29d9f749c9/src/module.ts#L325-L332

https://github.com/nuxt/content/blob/5a9e7d9d25b9bcfcf8b21e1f844cbe29d9f749c9/docs/content/1.get-started/2.configuration.md?plain=1#L363

showURL is false in the module code


Can you add changes for those please?

I would add them here by suggestion, but GitHub limits suggestions to the git change area.

Thank you

Please look over it yourself too, as i have just skimmed over it :)