Skip to content

Commit

Permalink
nextra guide
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoMoretti committed Oct 12, 2024
1 parent 1b11e64 commit 1256884
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions apps/www/content/docs/guide/nextra.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@ npm install notion-downloader
}
```

8. **Videos:** For compatibility with server rendering, follow the [Video Support guide](https://nextra.site/docs/guide/video).
8. Run the downloader:

9. **Images:** If any images come from external domains, update your `next.config.mjs` file:
```bash
npm run download
```

9. **Videos:** For compatibility with server rendering, follow the [Video Support guide](https://nextra.site/docs/guide/video).

10. **Images:** If any images come from external domains, update your `next.config.mjs` file:

```javascript
import nextra from 'nextra'
Expand All @@ -100,8 +106,14 @@ const nextConfig = {
export default nextConfig
```

11. Run the documentation site:

```bash
npm run dev
```


10. (Optional) Update your `.gitignore` file with:
12. (Optional) Update your `.gitignore` file with:

```bash
# notion-downloader
Expand Down

0 comments on commit 1256884

Please sign in to comment.