mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
Add JSDOC @message
to fix docs error pages (#6076)
This commit is contained in:
parent
e3e2498248
commit
e193dfad1e
1 changed files with 2 additions and 0 deletions
|
@ -629,6 +629,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
|
|||
},
|
||||
/**
|
||||
* @docs
|
||||
* @message `COLLECTION_NAME` → `ENTRY_ID` has an invalid slug. `slug` must be a string.
|
||||
* @see
|
||||
* - [The reserved entry `slug` field](https://docs.astro.build/en/guides/content-collections/)
|
||||
* @description
|
||||
|
@ -646,6 +647,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
|
|||
},
|
||||
/**
|
||||
* @docs
|
||||
* @message A content collection schema should not contain `slug` since it is reserved for slug generation. Remove this from your `COLLECTION_NAME` collection schema.
|
||||
* @see
|
||||
* - [The reserved entry `slug` field](https://docs.astro.build/en/guides/content-collections/)
|
||||
* @description
|
||||
|
|
Loading…
Reference in a new issue