Content sources are configured through the contentSources
property.
Defining Content Sources
All content sources are now configured using the contentSources
properties.
When possible, Netlify Create infers the content schema from the source through each source's module. That schema can then be extended using the modelExtensions
property.
The exception to this is Git CMS, which requires that you define the content schema when configuring the source.
contentSources
Define one or more content sources that your project is using.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- Each content source has its own module with a unique set of properties. See the following integration guides for more information about working with that source:
- Contentful
- Git CMS
- DatoCMS
- Sanity
- Custom (for sources not listed)
- For most sources, this property must be paired with the
modelExtensions
property to tell Netlify Create which models represent your pages.- See Content Modeling for the technical reference.