docs: fixed the code formatting in the backends doc (#2812)

docs: Fixed the code formatting in the authentication-backend.md page (https://www.netlifycms.org/docs/authentication-backends/)
This commit is contained in:
Maxime Preaux 2019-10-28 09:12:43 +01:00 committed by Erez Rokah
parent 55be4019ca
commit 3d12ea9470

View File

@ -63,12 +63,13 @@ The GitHub backend supports [deploy preview links](../deploy-preview-links). Net
one that seems to represent a deploy preview. If you need to customize this behavior, you can one that seems to represent a deploy preview. If you need to customize this behavior, you can
specify which context to look for using `preview_context`: specify which context to look for using `preview_context`:
```yaml
backend: ```yaml
name: github backend:
repo: my/repo name: github
preview_context: my-provider/deployment repo: my/repo
``` preview_context: my-provider/deployment
```
The above configuration would look for the status who's `"context"` is `"my-provider/deployment"`. The above configuration would look for the status who's `"context"` is `"my-provider/deployment"`.
@ -165,7 +166,7 @@ You can use the `test-repo` backend to try out Netlify CMS without connecting to
To enable this backend, add the following lines to your Netlify CMS `config.yml` file: To enable this backend, add the following lines to your Netlify CMS `config.yml` file:
``` ```yaml
backend: backend:
name: test-repo name: test-repo
``` ```