Skip to content

Commit

Permalink
Merge branch 'canary' into add-env-var-info-to-middleware-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
molebox authored Nov 23, 2021
2 parents 9fdad0a + 98227b2 commit 98d34ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/advanced-features/using-mdx.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ author: 'Rich Haines'
### Layouts
To add a layout to your MDX page, create a new component and import it into the MDX page. Then you can wrap the MDx page with your layout component:
To add a layout to your MDX page, create a new component and import it into the MDX page. Then you can wrap the MDX page with your layout component:
```md
import { MyComponent, MyLayoutComponent } from 'my-components'
Expand Down
2 changes: 1 addition & 1 deletion examples/cms-cosmic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cp .env.local.example .env.local

Then set each variable on `.env.local`:

- `COSMIC_BUCKET_SLUG` should be the **Bucket slug** key under **Basic Settings**.
- `COSMIC_BUCKET_SLUG` should be the **Bucket slug** key under **API Access**.
- `COSMIC_READ_KEY` should be the **Read Key** under **API Access**.
- `COSMIC_PREVIEW_SECRET` can be any random string (but avoid spaces) - this is used for [Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode).

Expand Down
5 changes: 5 additions & 0 deletions examples/cms-cosmic/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
images: {
domains: ['imgix.cosmicjs.com'],
},
}

0 comments on commit 98d34ab

Please sign in to comment.