Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ When writing requirements in `develop-docs/`:
- **ALWAYS** run `/brand-guidelines` to audit any user-facing content before committing. See `.agents/skills/brand-guidelines/SKILL.md`
- Use `docs-review` skill for Sentry style and voice review. See `.claude/skills/docs-review/SKILL.md`
- Use `technical-docs` skill when writing or reviewing SDK documentation. See `.claude/skills/technical-docs/SKILL.md`
- Quick starts set `runtime` (for example `node` or `cloudflare`) in their frontmatter. The page then shows a runtime selector at the top that links the quick starts of the same guide for the other runtimes

## LLM-Friendly MD Exports

Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/javascript/common/troubleshooting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ Learn more about fixing these caching issues in the <PlatformLink to="/sourcemap
- The `sentry.server.config.ts` file is in the root of your project, next to `nuxt.config.ts`.
- Enable `debug` in the `sentry` options of your `nuxt.config.ts`. The SDK then prints a message during the build when it bundles the server config.
- Remove the deprecated `autoInjectServerSentry` option, so that the SDK uses the bundled initialization.
- If you're using a Cloudflare Nitro preset, the SDK doesn't use `sentry.server.config.ts`. Use the [Cloudflare Nitro plugin](/platforms/javascript/guides/cloudflare/frameworks/nuxt/) instead.
- If you're using a Cloudflare Nitro preset, the SDK doesn't use `sentry.server.config.ts`. Use the [Cloudflare Nitro plugin](/platforms/javascript/guides/nuxt/cloudflare/) instead.
- The SDK doesn't initialize while Nitro prerenders pages at build time, so builds don't send events.

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: Astro on Cloudflare
sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
description: "Learn how to instrument your Astro app on Cloudflare Workers and capture your first errors."
runtime: cloudflare
---

## Prerequisites
Expand Down Expand Up @@ -99,9 +102,6 @@ export const onRequest = [

<Include name="quick-start-features-expandable-cloudflare-frameworks" />

<PlatformContent
includePath="getting-started-complete"
platform="javascript.astro"
/>
<PlatformContent includePath="getting-started-cloudflare" />

</StepConnector>
3 changes: 2 additions & 1 deletion docs/platforms/javascript/guides/astro/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sdk: sentry.javascript.astro
categories:
- browser
- server
runtime: node
---

## Prerequisites
Expand All @@ -18,7 +19,7 @@ You need:

<Alert level="warning" title="What runtime do you use?">

This SDK currently only works on Node runtimes, such as Node adapter or Vercel with Lambda functions. If you use Cloudflare Workers or Cloudflare Pages, refer to our [Astro on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/astro/). Other non-Node runtimes, like Vercel's Edge runtime, are currently **not supported**.
This SDK currently only works on Node runtimes, such as Node adapter or Vercel with Lambda functions. If you use Cloudflare Workers or Cloudflare Pages, refer to our [Astro on Cloudflare guide](/platforms/javascript/guides/astro/cloudflare/). Other non-Node runtimes, like Vercel's Edge runtime, are currently **not supported**.

</Alert>

Expand Down

This file was deleted.

127 changes: 0 additions & 127 deletions docs/platforms/javascript/guides/cloudflare/frameworks/nextjs.mdx

This file was deleted.

11 changes: 0 additions & 11 deletions docs/platforms/javascript/guides/cloudflare/frameworks/nuxt.mdx

This file was deleted.

18 changes: 9 additions & 9 deletions docs/platforms/javascript/guides/cloudflare/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ This guide covers Cloudflare Workers. If you're deploying a Cloudflare Pages app

If you're using any of the listed frameworks, follow their specific setup instructions:

- **[Astro](/platforms/javascript/guides/cloudflare/frameworks/astro/)**
- **[Hono](/platforms/javascript/guides/hono/)** (with @sentry/hono)
- **[Hydrogen](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/)**
- **[Next.js](/platforms/javascript/guides/cloudflare/frameworks/nextjs/)**
- **[Nuxt](/platforms/javascript/guides/cloudflare/frameworks/nuxt/)**
- **[Remix](/platforms/javascript/guides/cloudflare/frameworks/remix/)**
- **[SvelteKit](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)**
- **[TanStack Start](/platforms/javascript/guides/cloudflare/frameworks/tanstack-start/)**
- **[Astro](/platforms/javascript/guides/astro/cloudflare/)**
- **[Hono](/platforms/javascript/guides/hono/cloudflare/)** (with @sentry/hono)
- **[Hydrogen](/platforms/javascript/guides/react-router/hydrogen/)**
- **[Next.js](/platforms/javascript/guides/nextjs/cloudflare/)**
- **[Nuxt](/platforms/javascript/guides/nuxt/cloudflare/)**
- **[Remix](/platforms/javascript/guides/remix/cloudflare/)**
- **[SvelteKit](/platforms/javascript/guides/sveltekit/cloudflare/)**
- **[TanStack Start](/platforms/javascript/guides/tanstackstart-react/cloudflare/)**

<Alert level="warning" title="Cloudflare Workers limitations">
The Cloudflare Workers runtime has some platform-specific limitations that
Expand Down Expand Up @@ -178,7 +178,7 @@ At this point, you should have integrated Sentry into your Cloudflare Worker. He

<Expandable permalink={false} title="Are you having problems setting up the SDK?">

- Check out setup instructions for popular [frameworks on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/)
- Using a framework? Follow its setup instructions, linked at the top of this page
- Find various support topics in <PlatformLink to="/troubleshooting/">troubleshooting</PlatformLink>
- [Get support](https://www.sentry.help/en/)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: Hono on Cloudflare
description: "Learn how to instrument your Hono app on Cloudflare Workers with Sentry."
sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
runtime: cloudflare
---

Hono has its own dedicated SDK (`@sentry/hono`) with first-class support for Cloudflare Workers, Node.js, Bun, and Deno. It works as Hono middleware, so you can drop it into an existing app.
Expand Down

This file was deleted.

9 changes: 9 additions & 0 deletions docs/platforms/javascript/guides/nextjs/cloudflare.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Next.js on Cloudflare
sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
description: "Learn how to set up Sentry in your Next.js application deployed on Cloudflare Workers and capture your first errors."
runtime: cloudflare
---

<PlatformContent includePath="getting-started-cloudflare" />
Loading
Loading