Add description option to collections docs (#1812)
This commit is contained in:
parent
926d9147ce
commit
3514bc5e0b
@ -123,8 +123,9 @@ The `collections` setting is the heart of your Netlify CMS configuration, as it
|
|||||||
`collections` accepts a list of collection objects, each with the following options:
|
`collections` accepts a list of collection objects, each with the following options:
|
||||||
|
|
||||||
- `name` (required): unique identifier for the collection, used as the key when referenced in other contexts (like the [relation widget](../widgets/#relation))
|
- `name` (required): unique identifier for the collection, used as the key when referenced in other contexts (like the [relation widget](../widgets/#relation))
|
||||||
- `Label`: label for the collection in the editor UI; defaults to the value of `name`
|
- `label`: label for the collection in the editor UI; defaults to the value of `name`
|
||||||
- `label_singular`: singular label for certain elements in the editor; defaults to the value of `label`
|
- `label_singular`: singular label for certain elements in the editor; defaults to the value of `label`
|
||||||
|
- `description`: optional text, displayed below the label when viewing a collection
|
||||||
- `file` or `folder` (requires one of these): specifies the collection type and location; details in [Collection Types](../collection-types)
|
- `file` or `folder` (requires one of these): specifies the collection type and location; details in [Collection Types](../collection-types)
|
||||||
- `filter`: optional filter for `folder` collections; details in [Collection Types](../collection-types)
|
- `filter`: optional filter for `folder` collections; details in [Collection Types](../collection-types)
|
||||||
- `create`: for `folder` collections only; `true` allows users to create new items in the collection; defaults to `false`
|
- `create`: for `folder` collections only; `true` allows users to create new items in the collection; defaults to `false`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user