Concepts & naming patterns
- Document: a stand-alone entity in Sanity's dataset
- Can have routes (such as
landingPage
,blog.article
,caseStudy
, etc.) or not (ateamMember
,blog.tag
,caseStudy.category
, etc.)
- Can have routes (such as
- Singletons: special types of documents that are unique
- Editors can't delete, unpublish or duplicate them
- Examples: the homepage, settings, header navigation, etc.
- Collections: groups of documents, of one or more types
- Collections of blog articles, case studies, FAQs, concepts, etc.
- Collection indexes: the routes that list documents in a collection
- They usually have singletons associated with them, like the
blogIndex
orcaseStudiesIndex
documents
- They usually have singletons associated with them, like the
- Sanity studio: the CMS interface we use to edit content in the
/manage
route
💡
This list is pending, feel free to suggest new concepts