diff --git a/packages/website/src/content/docs/integrations/builtins/astro.mdx b/packages/website/src/content/docs/integrations/builtins/astro.mdx deleted file mode 100644 index 9dff2055..00000000 --- a/packages/website/src/content/docs/integrations/builtins/astro.mdx +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Astro ---- - -```js -... -integrations: [astro({configOptions})] -... -``` - -## `configOptions` - diff --git a/packages/website/src/content/docs/integrations/builtins/console.mdx b/packages/website/src/content/docs/reference/console.mdx similarity index 73% rename from packages/website/src/content/docs/integrations/builtins/console.mdx rename to packages/website/src/content/docs/reference/console.mdx index c8b76560..ef3fc95c 100644 --- a/packages/website/src/content/docs/integrations/builtins/console.mdx +++ b/packages/website/src/content/docs/reference/console.mdx @@ -1,5 +1,6 @@ --- -title: Console +title: ConsoleIntegration +description: Interface of ConsoleIntegration --- The console integration allows you to easily render console logs within Spotlight. diff --git a/packages/website/src/content/docs/integrations/builtins/sentry.mdx b/packages/website/src/content/docs/reference/sentry.mdx similarity index 74% rename from packages/website/src/content/docs/integrations/builtins/sentry.mdx rename to packages/website/src/content/docs/reference/sentry.mdx index 1c9d7a93..cb3e82d2 100644 --- a/packages/website/src/content/docs/integrations/builtins/sentry.mdx +++ b/packages/website/src/content/docs/reference/sentry.mdx @@ -1,5 +1,6 @@ --- -title: Sentry +title: SentryIntegration +description: Interface of SentryIntegration --- The Sentry integration is the default in Spotlight. It receives events and envelope formats from Sentry SDKs (when configured with `spotlight=true`) and renders those as Errors and Traces in the overlay. @@ -8,6 +9,6 @@ The Sentry integration is the default in Spotlight. It receives events and envel import { init, sentry } from "@spotlightjs/core"; init({ - integrations: [sentry()] + integrations: [=sentry()], }); ```