Skip to content
Draft
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. Add `<RuntimeSelector />` to a quick start to link 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,8 +1,13 @@
---
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
---

<RuntimeSelector />

## Prerequisites

You need:
Expand Down Expand Up @@ -88,20 +93,6 @@ export const onRequest = [

## Install

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

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

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

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

<RuntimeSelector />

## Prerequisites

You need:
Expand All @@ -18,7 +21,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
70 changes: 0 additions & 70 deletions docs/platforms/javascript/guides/cloudflare/frameworks/hono.mdx

This file was deleted.

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.

Loading
Loading