docs: emphasise configuration file location note (#3687)

This commit is contained in:
Alan Braithwaite 2020-05-11 08:48:15 -04:00 committed by GitHub
parent 2e830f6563
commit c9a2fec2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,9 @@ title: Configuration Options
group: reference
weight: 23
---
## Configuration File
All configuration options for Netlify CMS are specified in a `config.yml` file, in the folder where you access the editor UI (usually in the `/admin` folder).
Alternatively, you can specify a custom config file using a link tag:
@ -35,6 +38,7 @@ The `publish_mode` option allows you to enable "Editorial Workflow" mode for mor
You can enable the Editorial Workflow with the following line in your Netlify CMS `config.yml` file:
```yaml
# /admin/config.yml
publish_mode: editorial_workflow
```
@ -156,8 +160,7 @@ show_preview_links: false
## Slug Type
The `slug` option allows you to change how filenames for entries are created and sanitized.
It also applies to filenames of media inserted via the default media library.
The `slug` option allows you to change how filenames for entries are created and sanitized. It also applies to filenames of media inserted via the default media library.\
For modifying the actual data in a slug, see the per-collection option below.
`slug` accepts multiple options:
@ -393,4 +396,4 @@ When `author` field can't be inferred commit author will be used.
```yaml
# use dot notation for nested fields
sortableFields: ['commit_date', 'title', 'commit_author', 'language.en']
```
```