2017-12-04 16:42:20 -08:00
|
|
|
backend:
|
|
|
|
name: github
|
|
|
|
repo: netlify/netlify-cms
|
2018-05-23 17:42:54 -04:00
|
|
|
squash_merges: true
|
2020-02-19 16:55:10 -05:00
|
|
|
open_authoring: true
|
2017-12-04 16:42:20 -08:00
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
local_backend: true
|
|
|
|
|
|
|
|
site_url: https://www.netlifycms.org
|
2019-02-12 10:56:56 -05:00
|
|
|
|
2017-12-04 16:42:20 -08:00
|
|
|
publish_mode: editorial_workflow
|
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
media_folder: website/static/img
|
2020-06-07 18:34:06 +05:30
|
|
|
public_folder: /img
|
2020-02-19 16:55:10 -05:00
|
|
|
|
|
|
|
docs_collection: &docs_collection
|
|
|
|
folder: website/content/docs
|
|
|
|
create: true
|
2020-09-09 04:38:48 -07:00
|
|
|
summary: '{{weight}} - {{title}}'
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'docs/{{slug}}'
|
2020-09-09 04:38:48 -07:00
|
|
|
sortableFields: ['weight', 'title', 'group']
|
2020-02-19 16:55:10 -05:00
|
|
|
fields:
|
2020-09-09 04:38:48 -07:00
|
|
|
- label: Section
|
|
|
|
name: group
|
|
|
|
widget: relation
|
|
|
|
collection: settings
|
|
|
|
file: docs_sections
|
|
|
|
searchFields: ["menu.docs.*.name", "menu.docs.*.title"]
|
|
|
|
displayFields: ["menu.docs.*.title"]
|
|
|
|
valueField: "menu.docs.*.name"
|
|
|
|
- { label: 'Order', name: weight, widget: number }
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
2017-12-04 16:42:20 -08:00
|
|
|
|
2020-10-11 07:02:47 -07:00
|
|
|
word_list: &word_list
|
|
|
|
fields:
|
|
|
|
- label: Extends
|
|
|
|
name: extends
|
|
|
|
widget: hidden
|
|
|
|
default: "existence"
|
|
|
|
- label: Output message
|
|
|
|
name: message
|
|
|
|
widget: string
|
|
|
|
- label: Ignore Case
|
|
|
|
name: ignorecase
|
|
|
|
widget: boolean
|
|
|
|
default: true
|
|
|
|
required: false
|
|
|
|
- label: Notification Level
|
|
|
|
name: level
|
|
|
|
widget: select
|
|
|
|
default: suggestion
|
|
|
|
options:
|
|
|
|
- {label: "Suggestion", value: "suggestion"}
|
|
|
|
- {label: "Warning", value: "warning"}
|
|
|
|
- {label: "Error", value: "error"}
|
|
|
|
- label: Entries
|
|
|
|
name: tokens
|
|
|
|
widget: list
|
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
collections:
|
2020-09-09 04:38:48 -07:00
|
|
|
- label: Settings
|
|
|
|
name: settings
|
|
|
|
hide: true
|
|
|
|
files:
|
|
|
|
- label: Docs Sections
|
|
|
|
name: docs_sections
|
|
|
|
file: website/site.yml
|
|
|
|
fields:
|
|
|
|
- label: menu
|
|
|
|
name: menu
|
|
|
|
widget: object
|
|
|
|
fields:
|
|
|
|
- label: Sections
|
|
|
|
label_singular: Section
|
|
|
|
name: docs
|
|
|
|
widget: list
|
|
|
|
summary: '{{title}} ({{name}})'
|
|
|
|
fields:
|
|
|
|
- { label: 'Full Name', name: 'title', widget: 'string' }
|
|
|
|
- { label: 'Summary Name', name: 'name', widget: 'string' }
|
2020-10-11 07:02:47 -07:00
|
|
|
- label: Style & Usage Options
|
|
|
|
name: linter
|
|
|
|
hide: false
|
|
|
|
files:
|
|
|
|
- <<: *word_list
|
|
|
|
label: Acronyms
|
|
|
|
name: acronyms
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Acronyms.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Adverbs
|
|
|
|
name: adverbs
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Adverbs.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Archaisms
|
|
|
|
name: archaisms
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Archaisms.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Cliches
|
|
|
|
name: cliches
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Cliches.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Hyperbole
|
|
|
|
name: hyperbole
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Hyperbole.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Indirect Language
|
|
|
|
name: indirect
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Indirect.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Jargon
|
|
|
|
name: jargon
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Jargon.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Passive
|
|
|
|
name: passive
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Passive.yml
|
|
|
|
- <<: *word_list
|
|
|
|
label: Simplify
|
|
|
|
name: simplify
|
|
|
|
file: website/src/writing-guide/styles/Avoid/Simplify.yml
|
2020-09-09 04:38:48 -07:00
|
|
|
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
2020-07-15 09:10:00 -04:00
|
|
|
name: docs_intro
|
|
|
|
label: 'Docs: Intro'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Intro
|
2020-04-06 10:44:48 +03:00
|
|
|
- <<: *docs_collection
|
2020-07-15 09:10:00 -04:00
|
|
|
name: docs_accounts
|
|
|
|
label: 'Docs: Account'
|
2020-04-06 10:44:48 +03:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Accounts
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
2020-07-15 09:10:00 -04:00
|
|
|
name: docs_configuration
|
|
|
|
label: 'Docs: Configuration'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Configuration
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_media
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Media'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Media
|
2020-07-15 09:10:00 -04:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_workflow
|
|
|
|
label: 'Docs: Workflow'
|
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Workflow
|
2020-07-15 09:10:00 -04:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_collections
|
|
|
|
label: 'Docs: Collections'
|
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Collections
|
2020-07-15 09:10:00 -04:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_fields
|
|
|
|
label: 'Docs: Fields'
|
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Fields
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_guides
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Guides'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Guides
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_customization
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Customization'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Customization
|
2020-02-19 16:55:10 -05:00
|
|
|
- <<: *docs_collection
|
|
|
|
name: docs_contributing
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Contributing'
|
2020-02-19 16:55:10 -05:00
|
|
|
filter:
|
|
|
|
field: group
|
2020-09-09 04:38:48 -07:00
|
|
|
value: Contributing
|
2020-02-19 16:55:10 -05:00
|
|
|
- name: widget_docs
|
2020-04-06 10:44:48 +03:00
|
|
|
label: 'Docs: Widgets'
|
2020-02-19 16:55:10 -05:00
|
|
|
folder: website/content/docs/widgets
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'docs/widgets/{{title}}'
|
2020-02-19 16:55:10 -05:00
|
|
|
create: true
|
|
|
|
fields:
|
|
|
|
- { label: Name, name: title }
|
|
|
|
- { label: Label, name: label }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
|
|
|
- name: blog
|
|
|
|
label: Blog
|
|
|
|
label_singular: Post
|
|
|
|
folder: website/content/blog
|
2020-04-06 10:44:48 +03:00
|
|
|
preview_path: 'blog/{{year}}/{{month}}/{{title}}'
|
2018-06-11 19:09:44 -07:00
|
|
|
create: true
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Author, name: author }
|
|
|
|
- { label: Description (for blog list), name: description, widget: text }
|
2020-04-06 10:44:48 +03:00
|
|
|
- {
|
|
|
|
label: Meta Description (defaults to Description),
|
|
|
|
name: meta_description,
|
|
|
|
widget: text,
|
|
|
|
required: false,
|
|
|
|
}
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Twitter Image, name: twitter_image, widget: image }
|
|
|
|
- { label: Date, name: date, widget: date }
|
|
|
|
- { label: Body, name: body, widget: markdown }
|
2019-06-24 19:07:19 -04:00
|
|
|
- name: community
|
|
|
|
label: Community
|
2019-06-26 15:52:47 -04:00
|
|
|
files:
|
|
|
|
- name: community
|
|
|
|
label: Community
|
|
|
|
file: website/content/pages/community.md
|
2020-02-19 16:55:10 -05:00
|
|
|
preview_path: community
|
2019-06-24 19:07:19 -04:00
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Headline, name: headline }
|
|
|
|
- { label: Subheading, name: subhead }
|
2019-06-26 15:52:47 -04:00
|
|
|
- label: Sections
|
|
|
|
name: sections
|
2019-06-24 19:07:19 -04:00
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: title, label: Title }
|
2019-06-26 15:52:47 -04:00
|
|
|
- name: channels
|
|
|
|
label: Channels
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: title, label: Title }
|
|
|
|
- { name: url, label: URL }
|
|
|
|
- { name: description, label: Description }
|
2018-02-27 21:53:57 -05:00
|
|
|
- name: updates
|
|
|
|
label: Updates
|
2017-12-04 16:42:20 -08:00
|
|
|
files:
|
2018-02-27 21:53:57 -05:00
|
|
|
- name: releases
|
|
|
|
label: Releases
|
2018-07-25 07:47:26 -04:00
|
|
|
file: website/data/updates.yml
|
2018-02-27 21:53:57 -05:00
|
|
|
fields:
|
|
|
|
- name: updates
|
|
|
|
label: Releases
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { name: version, label: Version }
|
|
|
|
- { name: date, label: Date, widget: date }
|
|
|
|
- { name: description, label: Description }
|
2020-02-26 10:00:27 -05:00
|
|
|
- { name: url, label: Url, required: false }
|
2017-12-04 16:42:20 -08:00
|
|
|
- name: notifications
|
|
|
|
label: Notifications
|
2018-07-25 07:47:26 -04:00
|
|
|
file: website/data/notifications.yml
|
2017-12-04 16:42:20 -08:00
|
|
|
description: Site-top notifications - publish one at a time
|
|
|
|
fields:
|
|
|
|
- name: notifications
|
|
|
|
label: Notifications
|
|
|
|
widget: list
|
|
|
|
fields:
|
2020-02-19 16:55:10 -05:00
|
|
|
- { label: Title, name: title }
|
|
|
|
- { label: Published, name: published, widget: boolean }
|
|
|
|
- { label: Loud, name: loud, widget: boolean }
|
|
|
|
- { label: Message, name: message, widget: text }
|
2020-04-06 10:44:48 +03:00
|
|
|
- { label: URL, name: url }
|