Skip to content

Commit 876a63f

Browse files
codydeclaude
andauthored
feat: JavaScript Docs display order, tags, split-layout (#15440)
- Implementing new / beta tags for Logs + Metrics + OpenTelemetry - Adjusting ordering of content to reflect items that are higher priority for utilization / engagement - Utilize sidebar separator to breakup content - Implemement split layout for nextjs quickstart (text vs code) Note: This change will create a difference in layout outside of the JavaScript SDKs. I will be fast following updates to the layout for other SDKs, as well as fast following the pill icons to the other SDKs as well for Logs / Metrics - i dont want to overload this PR with all of those changes. <img width="1728" height="1079" alt="CleanShot 2025-11-10 at 9  59 37@2x" src="https://github.com/user-attachments/assets/6db369e8-c6e9-4a2f-badb-64da95de7e4b" /> --------- Co-authored-by: Claude <[email protected]>
1 parent 117f732 commit 876a63f

File tree

52 files changed

+505
-296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+505
-296
lines changed

docs/platforms/javascript/common/best-practices/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Special Use Cases
33
description: "Learn how to set up Sentry for several specific use cases with these best practice guides."
4-
sidebar_order: 8000
4+
sidebar_order: 18
5+
sidebar_section: configuration
56
notSupported:
67
- javascript.node
78
- javascript.aws-lambda

docs/platforms/javascript/common/apis.mdx renamed to docs/platforms/javascript/common/configuration/apis.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: APIs
33
description: "Learn more about APIs of the SDK."
4-
customCanonicalTag: "/platforms/javascript/apis/"
5-
sidebar_order: 3
4+
sidebar_order: 1
65
---
76

87
This page shows all available top-level APIs of the SDK. You can use these APIs as the primary way to:
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2-
title: Configuration
2+
title: Extended Configuration
3+
sidebar_title: Extended Configuration
34
description: "Learn about additional configuration options for the JavaScript SDKs."
4-
sidebar_order: 2
5+
sidebar_order: 13
6+
sidebar_section: configuration
57
---
68

79
<PageGrid />

docs/platforms/javascript/common/crons/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Set Up Crons
33
sidebar_title: Crons
44
description: "Sentry Crons allows you to monitor the uptime and performance of any scheduled, recurring job in your application."
5-
sidebar_order: 5750
5+
sidebar_order: 9
6+
sidebar_section: features
67
supported:
78
- javascript.nextjs
89
- javascript.sveltekit
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Data Management
33
description: Learn about different ways to scrub data within your SDK before it gets sent to Sentry.
4-
sidebar_order: 7
4+
sidebar_order: 16
5+
sidebar_section: configuration
56
---
67

78
<PageGrid />

docs/platforms/javascript/common/enriching-events/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Enriching Events
33
description: Add additional data to your events to make them easier to debug.
4-
sidebar_order: 5
4+
sidebar_order: 12
5+
sidebar_section: configuration
56
---
67

78
In addition to the data that the Sentry SDK automatically captures, you can add additional data to events to help you debug them.

docs/platforms/javascript/common/feature-flags/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Set Up Feature Flags
33
sidebar_title: Feature Flags
4-
sidebar_order: 7000
4+
sidebar_order: 15
5+
sidebar_section: features
56
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.
67
---
78

docs/platforms/javascript/common/logs/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Set Up Logs
33
sidebar_title: Logs
44
description: "Structured logs allow you to send, view and query logs sent from your applications within Sentry."
5-
sidebar_order: 5755
5+
sidebar_order: 4
6+
sidebar_section: features
7+
new: true
68
notSupported:
79
- javascript.deno
810
- javascript.cordova

docs/platforms/javascript/common/metrics/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Set Up Metrics
33
sidebar_title: Metrics
44
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."
5-
sidebar_order: 5755
5+
sidebar_order: 7
6+
sidebar_section: features
7+
beta: true
68
notSupported:
79
- javascript.deno
810
- javascript.cordova

docs/platforms/javascript/common/migration/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Migration Guide
33
description: "Migrate from an older version of our Sentry JavaScript SDK."
4-
sidebar_order: 8100
4+
sidebar_order: 19
5+
sidebar_section: configuration
56
notSupported:
67
- javascript.capacitor
78
- javascript.cordova

0 commit comments

Comments
 (0)