Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
71f7ba9
feat: Restructure JavaScript SDK documentation organization
codyde Nov 10, 2025
3fd4f52
feat: Update sidebar ordering for key JavaScript SDK features
codyde Nov 10, 2025
408a1d8
feat: Rename Configuration to Advanced Configuration and adjust ordering
codyde Nov 10, 2025
9cb5a0d
Correcting the ordering of sidenav for javascript frameworks
codyde Nov 11, 2025
0f20a12
Improve code snippet word wrapping in SplitLayout
codyde Nov 11, 2025
3fd63a2
Strengthen word wrap overrides with more specific selectors
codyde Nov 11, 2025
2cd5009
Adding beta tag to opentelemetry support
codyde Nov 11, 2025
c0d5abf
Style fixes for sticky header
codyde Nov 11, 2025
7c81a05
Removing accidental content additions
codyde Nov 11, 2025
99759bb
duplicating pill config from prod
codyde Nov 11, 2025
93ae024
Correcting redirects
codyde Nov 11, 2025
3ded193
Style fixes to correct width / overlap issues
codyde Nov 12, 2025
9d6980a
Implementing heading text for sections in docs
codyde Nov 12, 2025
73a6a1b
sidebar section frontmatter
codyde Nov 12, 2025
e405bbd
Nav styles for sidebar
codyde Nov 12, 2025
2c51f2e
Setting ordering and configs for frontmatter in js docs
codyde Nov 12, 2025
72098ba
Nav colors, type fixing
codyde Nov 12, 2025
4b671a3
Types fix and canonical tag removal
codyde Nov 12, 2025
b6d292c
Correcting profiling ordering
codyde Nov 12, 2025
cb40949
Fixing astro profiling ordering
codyde Nov 12, 2025
1626416
Fixing profiling ordering and sourcemaps
codyde Nov 12, 2025
1b295de
restore horizontal scrolling code snippets
codyde Nov 12, 2025
84fe5b6
fixing pill text centering and padding
codyde Nov 12, 2025
52ef47c
Merge branch 'master' into feat/js-docs-apis-sampling-restructure
codyde Nov 17, 2025
26cb378
Restructure JS SDK docs and adjust sidenav breakpoint
codyde Nov 19, 2025
09bf327
feat(python): Standardize Python docs navigation structure
codyde Nov 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/best-practices/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Special Use Cases
description: "Learn how to set up Sentry for several specific use cases with these best practice guides."
sidebar_order: 8000
sidebar_order: 18
sidebar_section: configuration
notSupported:
- javascript.node
- javascript.aws-lambda
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: APIs
description: "Learn more about APIs of the SDK."
customCanonicalTag: "/platforms/javascript/apis/"
sidebar_order: 3
sidebar_order: 1
---

This page shows all available top-level APIs of the SDK. You can use these APIs as the primary way to:
Expand Down
6 changes: 4 additions & 2 deletions docs/platforms/javascript/common/configuration/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
title: Configuration
title: Extended Configuration
sidebar_title: Extended Configuration
description: "Learn about additional configuration options for the JavaScript SDKs."
sidebar_order: 2
sidebar_order: 13
sidebar_section: configuration
---

<PageGrid />
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/crons/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Set Up Crons
sidebar_title: Crons
description: "Sentry Crons allows you to monitor the uptime and performance of any scheduled, recurring job in your application."
sidebar_order: 5750
sidebar_order: 9
sidebar_section: features
supported:
- javascript.nextjs
- javascript.sveltekit
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/data-management/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Data Management
description: Learn about different ways to scrub data within your SDK before it gets sent to Sentry.
sidebar_order: 7
sidebar_order: 16
sidebar_section: configuration
---

<PageGrid />
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/enriching-events/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Enriching Events
description: Add additional data to your events to make them easier to debug.
sidebar_order: 5
sidebar_order: 12
sidebar_section: configuration
---

In addition to the data that the Sentry SDK automatically captures, you can add additional data to events to help you debug them.
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/feature-flags/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Set Up Feature Flags
sidebar_title: Feature Flags
sidebar_order: 7000
sidebar_order: 15
sidebar_section: features
description: With Feature Flags, Sentry tracks feature flag evaluations in your application, keeps an audit log of feature flag changes, and reports any suspicious updates that may have caused an error.
---

Expand Down
4 changes: 3 additions & 1 deletion docs/platforms/javascript/common/logs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: Set Up Logs
sidebar_title: Logs
description: "Structured logs allow you to send, view and query logs sent from your applications within Sentry."
sidebar_order: 5755
sidebar_order: 4
sidebar_section: features
new: true
notSupported:
- javascript.deno
- javascript.cordova
Expand Down
4 changes: 3 additions & 1 deletion docs/platforms/javascript/common/metrics/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: Set Up Metrics
sidebar_title: Metrics
description: "Metrics allow you to send, view and query counters, gauges and measurements from your Sentry-configured apps to track application health and drill down into related traces, logs, and errors."
sidebar_order: 5755
sidebar_order: 7
sidebar_section: features
beta: true
notSupported:
- javascript.deno
- javascript.cordova
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/migration/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Migration Guide
description: "Migrate from an older version of our Sentry JavaScript SDK."
sidebar_order: 8100
sidebar_order: 19
sidebar_section: configuration
notSupported:
- javascript.capacitor
- javascript.cordova
Expand Down
4 changes: 3 additions & 1 deletion docs/platforms/javascript/common/opentelemetry/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: OpenTelemetry Support
description: "Learn how to use OpenTelemetry with Sentry."
sidebar_order: 7000
sidebar_order: 14
sidebar_section: configuration
supported:
- javascript.nextjs
- javascript.node
Expand All @@ -25,6 +26,7 @@ supported:
- javascript.tanstackstart-react
notSupported:
- javascript
beta: true
---

The Sentry SDK uses [OpenTelemetry](https://opentelemetry.io/) under the hood. This means that any OpenTelemetry instrumentation that emits spans will automatically be picked up by Sentry without any further configuration.
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/profiling/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Set Up Profiling
sidebar_title: Profiling
sidebar_order: 5000
sidebar_order: 8
sidebar_section: features
description: "Collect & view performance insights for JavaScript programs with Sentry's Profiling integrations. Get started with profiling to understand your application's performance."
notSupported:
- javascript.bun
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Sampling
description: "Learn how to configure the volume of error and transaction events sent to Sentry."
sidebar_order: 50
sidebar_order: 11
sidebar_section: configuration
---

Adding Sentry to your app gives you a great deal of very valuable information about errors and performance you wouldn't otherwise get. And lots of information is good -- as long as it's the right information, at a reasonable volume.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Set Up Security Policy Reporting
sidebar_title: Security Policy Reporting
sidebar_order: 7500
sidebar_order: 17
sidebar_section: configuration
description: "Learn how Sentry can help manage Content-Security-Policy violations and reports here."
---

Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/session-replay/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Set Up Session Replay
sidebar_title: Session Replay
sidebar_order: 5500
sidebar_order: 5
sidebar_section: features
notSupported:
- javascript.cordova
- javascript.wasm
Expand Down
1 change: 1 addition & 0 deletions docs/platforms/javascript/common/sourcemaps/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Source Maps
sidebar_order: 3
sidebar_section: features
description: "Upload your source maps to Sentry to enable readable stack traces in your errors."
---

Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/tracing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Set Up Tracing
sidebar_title: Tracing
description: "Learn how to enable tracing in your app."
sidebar_order: 4000
sidebar_order: 6
sidebar_section: features
---

With [tracing](/product/insights/overview/), Sentry automatically tracks your software performance across your application services, measuring metrics like throughput and latency, and displaying the impact of errors across multiple systems.
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/troubleshooting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Troubleshooting
description: >-
If you need help solving issues with your Sentry JavaScript SDK integration,
you can read the edge cases documented below.
sidebar_section: configuration
keywords:
- adblocker
- blocked
Expand All @@ -11,7 +12,7 @@ keywords:
- "404"
notSupported:
- javascript.capacitor
sidebar_order: 9000
sidebar_order: 20
og_image: /og-images/platforms-javascript-common-troubleshooting.png
---

Expand Down
5 changes: 3 additions & 2 deletions docs/platforms/javascript/common/usage/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Capturing Errors and Events
title: Capturing Errors
description: "Learn how to use the SDK to manually capture errors and other events."
sidebar_order: 4
sidebar_order: 2
sidebar_section: features
---

Sentry's SDK hooks into your runtime environment and automatically reports errors, uncaught exceptions, and unhandled rejections as well as other types of errors depending on the platform.
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/common/user-feedback/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Set Up User Feedback
sidebar_title: User Feedback
description: Learn how to enable User Feedback in your app.
sidebar_order: 6000
sidebar_order: 10
sidebar_section: features
og_image: /og-images/platforms-javascript-common-user-feedback.png
---

Expand Down
28 changes: 14 additions & 14 deletions docs/platforms/javascript/guides/angular/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,6 @@ You need:

## Step 1: Install

Choose the features you want to configure, and this guide will show you how:

<OnboardingOptionButtons
options={[
"error-monitoring",
"performance",
"session-replay",
"user-feedback",
"logs",
]}
/>

<PlatformContent includePath="getting-started-features-expandable" />

### Install the Sentry SDK

```bash {tabTitle:npm}
Expand Down Expand Up @@ -77,6 +63,20 @@ If you're updating your Sentry SDK to the latest version, check out our [migrati

## Step 2: Configure

Choose the features you want to configure, and this guide will show you how:

<OnboardingOptionButtons
options={[
"error-monitoring",
"performance",
"session-replay",
"user-feedback",
"logs",
]}
/>

<PlatformContent includePath="getting-started-features-expandable" />

The main configuration should happen as early as possible in your app's lifecycle. Typically that means in your `main.ts` file.
In addition, you'll need to register some providers to fully instrument your application.

Expand Down
22 changes: 11 additions & 11 deletions docs/platforms/javascript/guides/astro/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ Before we get started, make sure you have the following:

## Install

<OnboardingOptionButtons
options={[
"error-monitoring",
"performance",
"profiling",
"session-replay",
"user-feedback",
"logs",
]}
/>

Sentry captures data by using an SDK within your application's runtime.

Install the SDK by using the `astro` CLI:
Expand Down Expand Up @@ -75,6 +64,17 @@ To finish the setup, configure the Sentry integration.

## Configure

<OnboardingOptionButtons
options={[
"error-monitoring",
"performance",
"profiling",
"session-replay",
"user-feedback",
"logs",
]}
/>

To set up the Sentry SDK, register the Sentry integration and initialize the SDK for client and server in the root directory of your project:

### Astro Integration Setup
Expand Down
3 changes: 2 additions & 1 deletion docs/platforms/javascript/guides/astro/profiling/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: Set Up Profiling
sidebar_title: Profiling
sidebar_order: 5000
sidebar_order: 8
description: "Collect & view performance insights for JavaScript programs with Sentry's Profiling integrations."
sidebar_section: features
---

<PageGrid />
12 changes: 6 additions & 6 deletions docs/platforms/javascript/guides/bun/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ categories:

## Install

In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/).

Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.

<OnboardingOptionButtons options={["error-monitoring", "performance", "logs"]} />

Sentry captures data by using an SDK within your application's runtime.

```bash {tabTitle:Bun}
Expand All @@ -26,6 +20,12 @@ bun add @sentry/bun

## Configure

In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/).

Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.

<OnboardingOptionButtons options={["error-monitoring", "performance", "logs"]} />

Configuration should happen as early as possible in your application's lifecycle.

Sentry should be initialized as early in your app as possible. It is essential that you call `Sentry.init` before you require any other modules in your application—otherwise, auto-instrumentation of these modules will _not_ work.
Expand Down
14 changes: 6 additions & 8 deletions docs/platforms/javascript/guides/capacitor/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,8 @@ categories:
- mobile
---

## Features

In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also get to the root of an error or performance issue faster, by watching a video-like reproduction of a user session with [session replay](/product/explore/session-replay/web/getting-started/).

Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.

## Install

<OnboardingOptionButtons options={["error-monitoring", "performance", "session-replay", "user-feedback", "logs"]} />

Sentry captures data by using an SDK within your application's runtime.

Install the Sentry Capacitor SDK alongside the corresponding Sentry SDK for the framework you're using:
Expand Down Expand Up @@ -97,6 +89,12 @@ Both Frameworks are fully compatible with the current and beta versions of Sentr

## Configure

In addition to capturing errors, you can monitor interactions between multiple services or applications by [enabling tracing](/concepts/key-terms/tracing/). You can also get to the root of an error or performance issue faster, by watching a video-like reproduction of a user session with [session replay](/product/explore/session-replay/web/getting-started/).

Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.

<OnboardingOptionButtons options={["error-monitoring", "performance", "session-replay", "user-feedback", "logs"]} />

Configuration should happen as early as possible in your application's lifecycle.

Then forward the `init` method from the sibling Sentry SDK for the framework you use, such as Angular in this example:
Expand Down
Loading