Skip to content

Commit

Permalink
chore(docs): Moved comment to clarify language codename (#13899)
Browse files Browse the repository at this point in the history
  • Loading branch information
CollierCZ authored and LekoArts committed May 7, 2019
1 parent bdba1dd commit 6c7293d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/sourcing-from-kentico-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Next, install the [Kentico Cloud source plugin](https://github.com/Kentico/gatsb
npm install --save gatsby-source-kentico-cloud
```

Once that's done, you need to add the plugin to `gatsby-config.js` (note this uses the language codename from the Sample Project, which would be `default` in a blank project):
Once that's done, you need to add the plugin to `gatsby-config.js`:

```javascript
module.exports = {
Expand All @@ -53,8 +53,9 @@ module.exports = {
deliveryClientConfig: {
projectId: `<YourProjectID>` // Fill in your Project ID
},
// Please note that with the Sample Project generated above, `en-US` is the default language for the project and this config. For a blank project, this needs to be `default`.
languageCodenames: [
`en-US` // Or whatever languages you have installed in your project (Project settings -> Localization)
`en-US` // Or the languages in your project (Project settings -> Localization)
]
}
},
Expand Down

0 comments on commit 6c7293d

Please sign in to comment.