Skip to content

Commit 573b0c9

Browse files
committed
Removing header for turbopack support, keeping expandable
1 parent aee449e commit 573b0c9

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

docs/platforms/javascript/guides/nextjs/index.mdx

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Select which Sentry features you'd like to configure to get the corresponding se
2525

2626
<OnboardingOptionButtons
2727
options={[
28-
{id: "error-monitoring", checked: true},
28+
{id: "error-monitoring", checked: true, disabled: true},
2929
{id: "performance", checked: true},
3030
{id: "session-replay", checked: true},
3131
{id: "user-feedback", checked: false},
@@ -43,21 +43,9 @@ Run the command for your preferred path to add Sentry to your application.
4343
npx @sentry/wizard@latest -i nextjs
4444
```
4545

46-
The wizard guides you through setup and can enable optional features beyond error monitoring. This guide assumes that you enable all features and allow the wizard to create an example page and route. You can add or remove features at any time.
46+
The wizard then guides you through the setup process, asking you to enable additional (optional) Sentry features for your application beyond error monitoring.
4747

48-
### Or install the SDK manually
49-
50-
```bash {tabTitle:npm}
51-
npm install @sentry/nextjs --save
52-
```
53-
54-
```bash {tabTitle:yarn}
55-
yarn add @sentry/nextjs
56-
```
57-
58-
```bash {tabTitle:pnpm}
59-
pnpm add @sentry/nextjs
60-
```
48+
<PlatformContent includePath="getting-started-features-expandable" />
6149

6250
<Expandable title="What does the installation wizard change inside your application?">
6351

@@ -72,7 +60,7 @@ pnpm add @sentry/nextjs
7260

7361
## Configure
7462

75-
If you prefer to configure Sentry manually, here are the configuration files the wizard would create. Initialize Sentry as early as possible.
63+
If you want to expand on your Sentry configuration by adding additional functionality, or manually instrument your application, here are the configuration files the wizard would create. Initialize Sentry as early as possible.
7664

7765
### Client-Side Configuration
7866

@@ -312,8 +300,6 @@ Now, head over to your project on [Sentry.io](https://sentry.io) to view the col
312300

313301
<PlatformContent includePath="getting-started-verify-locate-data" />
314302

315-
## Turbopack Support
316-
317303
<Include name="nextjs-turbopack-warning-expandable.mdx" />
318304

319305
## Next Steps

docs/platforms/javascript/guides/nextjs/manual-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,6 @@ module.exports = withSentryConfig(nextConfig, {
398398

399399
## Step 8: Verify
400400

401-
<Include name="nextjs-turbopack-warning-expandable.mdx" />
402-
403401
Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
404402

405403
### Issues
@@ -476,6 +474,8 @@ Now, head over to your project on [Sentry.io](https://sentry.io) to view the col
476474
477475
<PlatformContent includePath="getting-started-verify-locate-data" />
478476
477+
<Include name="nextjs-turbopack-warning-expandable.mdx" />
478+
479479
## Next Steps
480480
481481
At this point, you should have integrated Sentry into your Next.js application and should already be sending data to your Sentry project.

0 commit comments

Comments
 (0)