From 2d0bd32a0273bc02b22c952636c05e046c08dfef Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 7 Aug 2024 09:07:26 -0400 Subject: [PATCH] feat: Restructure categories for JavaScript SDKs (#10967) --- docs/platforms/javascript/config.yml | 3 ++- docs/platforms/javascript/guides/angular/config.yml | 3 ++- docs/platforms/javascript/guides/astro/config.yml | 2 ++ docs/platforms/javascript/guides/aws-lambda/config.yml | 8 ++++++++ .../javascript/guides/azure-functions/config.yml | 8 ++++++++ docs/platforms/javascript/guides/bun/config.yml | 3 +++ docs/platforms/javascript/guides/capacitor/config.yml | 3 ++- docs/platforms/javascript/guides/connect/config.yml | 6 ++++++ docs/platforms/javascript/guides/cordova/config.yml | 3 ++- docs/platforms/javascript/guides/deno/config.yml | 3 +++ docs/platforms/javascript/guides/electron/config.yml | 5 +++++ docs/platforms/javascript/guides/ember/config.yml | 1 + docs/platforms/javascript/guides/express/config.yml | 6 ++++++ docs/platforms/javascript/guides/fastify/config.yml | 6 ++++++ docs/platforms/javascript/guides/gatsby/config.yml | 6 ++++++ docs/platforms/javascript/guides/gcp-functions/config.yml | 7 +++++++ docs/platforms/javascript/guides/hapi/config.yml | 6 ++++++ docs/platforms/javascript/guides/koa/config.yml | 6 ++++++ docs/platforms/javascript/guides/nestjs/config.yml | 6 ++++++ docs/platforms/javascript/guides/nextjs/config.yml | 2 ++ docs/platforms/javascript/guides/node/config.yml | 7 +++++++ docs/platforms/javascript/guides/react/config.yml | 1 + docs/platforms/javascript/guides/remix/config.yml | 2 ++ docs/platforms/javascript/guides/solid/config.yml | 1 + docs/platforms/javascript/guides/svelte/config.yml | 1 + docs/platforms/javascript/guides/sveltekit/config.yml | 2 ++ docs/platforms/javascript/guides/vue/config.yml | 1 + docs/platforms/javascript/guides/wasm/config.yml | 5 +++++ 28 files changed, 109 insertions(+), 4 deletions(-) create mode 100644 docs/platforms/javascript/guides/aws-lambda/config.yml create mode 100644 docs/platforms/javascript/guides/azure-functions/config.yml create mode 100644 docs/platforms/javascript/guides/connect/config.yml create mode 100644 docs/platforms/javascript/guides/electron/config.yml create mode 100644 docs/platforms/javascript/guides/express/config.yml create mode 100644 docs/platforms/javascript/guides/fastify/config.yml create mode 100644 docs/platforms/javascript/guides/gatsby/config.yml create mode 100644 docs/platforms/javascript/guides/gcp-functions/config.yml create mode 100644 docs/platforms/javascript/guides/hapi/config.yml create mode 100644 docs/platforms/javascript/guides/koa/config.yml create mode 100644 docs/platforms/javascript/guides/nestjs/config.yml create mode 100644 docs/platforms/javascript/guides/node/config.yml create mode 100644 docs/platforms/javascript/guides/wasm/config.yml diff --git a/docs/platforms/javascript/config.yml b/docs/platforms/javascript/config.yml index 9b036488d2c20..02896bf79c77b 100644 --- a/docs/platforms/javascript/config.yml +++ b/docs/platforms/javascript/config.yml @@ -1,6 +1,7 @@ title: JavaScript caseStyle: camelCase supportLevel: production -sdk: "sentry.javascript.browser" +sdk: 'sentry.javascript.browser' categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/angular/config.yml b/docs/platforms/javascript/guides/angular/config.yml index cc235ff196a6d..a7874d3bb18fd 100644 --- a/docs/platforms/javascript/guides/angular/config.yml +++ b/docs/platforms/javascript/guides/angular/config.yml @@ -1,5 +1,6 @@ title: Angular -description: "Angular is a web framework that empowers developers to build fast, reliable applications. Learn how to set it up with Sentry." +description: 'Angular is a web framework that empowers developers to build fast, reliable applications. Learn how to set it up with Sentry.' sdk: sentry.javascript.angular categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/astro/config.yml b/docs/platforms/javascript/guides/astro/config.yml index bf49d43846c0c..e5b51ccfcec6c 100644 --- a/docs/platforms/javascript/guides/astro/config.yml +++ b/docs/platforms/javascript/guides/astro/config.yml @@ -2,5 +2,7 @@ title: Astro description: Astro is a web framework for building content-driven websites including blogs, marketing, and e-commerce sites. Learn how to set it up with Sentry. sdk: sentry.javascript.astro categories: + - javascript - browser - server + - server-node diff --git a/docs/platforms/javascript/guides/aws-lambda/config.yml b/docs/platforms/javascript/guides/aws-lambda/config.yml new file mode 100644 index 0000000000000..84ff63f521403 --- /dev/null +++ b/docs/platforms/javascript/guides/aws-lambda/config.yml @@ -0,0 +1,8 @@ +title: AWS Lambda +description: AWS Lambda is a serverless compute service offered as part of Amazon Web Services. Learn how to set it up with Sentry. +sdk: sentry.javascript.aws-serverless +categories: + - javascript + - server + - server-node + - serverless diff --git a/docs/platforms/javascript/guides/azure-functions/config.yml b/docs/platforms/javascript/guides/azure-functions/config.yml new file mode 100644 index 0000000000000..4431dd6013a02 --- /dev/null +++ b/docs/platforms/javascript/guides/azure-functions/config.yml @@ -0,0 +1,8 @@ +title: Azure Functions +description: Azure Functions is a serverless compute service offered as part of Microsoft Azure. Learn how to set it up with Sentry. +sdk: sentry.javascript.astro +categories: + - javascript + - server + - server-node + - serverless diff --git a/docs/platforms/javascript/guides/bun/config.yml b/docs/platforms/javascript/guides/bun/config.yml index f308b8e8816db..978c2aaa7c257 100644 --- a/docs/platforms/javascript/guides/bun/config.yml +++ b/docs/platforms/javascript/guides/bun/config.yml @@ -1,4 +1,7 @@ title: Bun sdk: sentry.javascript.bun categories: + - javascript - server + - server-edge + - serverless diff --git a/docs/platforms/javascript/guides/capacitor/config.yml b/docs/platforms/javascript/guides/capacitor/config.yml index abe65c0f7a19b..61512491077ea 100644 --- a/docs/platforms/javascript/guides/capacitor/config.yml +++ b/docs/platforms/javascript/guides/capacitor/config.yml @@ -2,5 +2,6 @@ title: Capacitor description: Sentry's Capacitor SDK enables automatic reporting of errors, exceptions, and messages. It includes native crash support on iOS and Android. sdk: sentry.javascript.capacitor categories: - - mobile + - javascript - browser + - mobile diff --git a/docs/platforms/javascript/guides/connect/config.yml b/docs/platforms/javascript/guides/connect/config.yml new file mode 100644 index 0000000000000..8d58b5a8871a8 --- /dev/null +++ b/docs/platforms/javascript/guides/connect/config.yml @@ -0,0 +1,6 @@ +title: Connect +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/cordova/config.yml b/docs/platforms/javascript/guides/cordova/config.yml index 81d7ea652a387..80acc2192123b 100644 --- a/docs/platforms/javascript/guides/cordova/config.yml +++ b/docs/platforms/javascript/guides/cordova/config.yml @@ -1,5 +1,6 @@ title: Cordova sdk: sentry.javascript.cordova categories: - - mobile + - javascript - browser + - mobile diff --git a/docs/platforms/javascript/guides/deno/config.yml b/docs/platforms/javascript/guides/deno/config.yml index 00e665c041e98..99f53a09457fa 100644 --- a/docs/platforms/javascript/guides/deno/config.yml +++ b/docs/platforms/javascript/guides/deno/config.yml @@ -1,4 +1,7 @@ title: Deno sdk: sentry.javascript.deno categories: + - javascript - server + - server-edge + - serverless diff --git a/docs/platforms/javascript/guides/electron/config.yml b/docs/platforms/javascript/guides/electron/config.yml new file mode 100644 index 0000000000000..97614a4bce6b8 --- /dev/null +++ b/docs/platforms/javascript/guides/electron/config.yml @@ -0,0 +1,5 @@ +title: Deno +sdk: sentry.javascript.electron +categories: + - javascript + - desktop diff --git a/docs/platforms/javascript/guides/ember/config.yml b/docs/platforms/javascript/guides/ember/config.yml index cb74be3efeb00..68e12f2d42cdd 100644 --- a/docs/platforms/javascript/guides/ember/config.yml +++ b/docs/platforms/javascript/guides/ember/config.yml @@ -1,4 +1,5 @@ title: Ember sdk: sentry.javascript.ember categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/express/config.yml b/docs/platforms/javascript/guides/express/config.yml new file mode 100644 index 0000000000000..b6a3ee622e9cb --- /dev/null +++ b/docs/platforms/javascript/guides/express/config.yml @@ -0,0 +1,6 @@ +title: Express +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/fastify/config.yml b/docs/platforms/javascript/guides/fastify/config.yml new file mode 100644 index 0000000000000..f315621005dbf --- /dev/null +++ b/docs/platforms/javascript/guides/fastify/config.yml @@ -0,0 +1,6 @@ +title: Fastify +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/gatsby/config.yml b/docs/platforms/javascript/guides/gatsby/config.yml new file mode 100644 index 0000000000000..f315621005dbf --- /dev/null +++ b/docs/platforms/javascript/guides/gatsby/config.yml @@ -0,0 +1,6 @@ +title: Fastify +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/gcp-functions/config.yml b/docs/platforms/javascript/guides/gcp-functions/config.yml new file mode 100644 index 0000000000000..4dd77f3258787 --- /dev/null +++ b/docs/platforms/javascript/guides/gcp-functions/config.yml @@ -0,0 +1,7 @@ +title: Google Cloud Functions +sdk: sentry.javascript.google-cloud-serverless +categories: + - javascript + - server + - server-node + - serverless diff --git a/docs/platforms/javascript/guides/hapi/config.yml b/docs/platforms/javascript/guides/hapi/config.yml new file mode 100644 index 0000000000000..e6b311d44d744 --- /dev/null +++ b/docs/platforms/javascript/guides/hapi/config.yml @@ -0,0 +1,6 @@ +title: Hapi +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/koa/config.yml b/docs/platforms/javascript/guides/koa/config.yml new file mode 100644 index 0000000000000..789704e384975 --- /dev/null +++ b/docs/platforms/javascript/guides/koa/config.yml @@ -0,0 +1,6 @@ +title: Koa +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/nestjs/config.yml b/docs/platforms/javascript/guides/nestjs/config.yml new file mode 100644 index 0000000000000..f811d7e17e6f8 --- /dev/null +++ b/docs/platforms/javascript/guides/nestjs/config.yml @@ -0,0 +1,6 @@ +title: Nestjs +sdk: sentry.javascript.nestjs +categories: + - javascript + - server + - server-node diff --git a/docs/platforms/javascript/guides/nextjs/config.yml b/docs/platforms/javascript/guides/nextjs/config.yml index 85f4aa671f141..bed3f7977d4c5 100644 --- a/docs/platforms/javascript/guides/nextjs/config.yml +++ b/docs/platforms/javascript/guides/nextjs/config.yml @@ -2,5 +2,7 @@ title: Next.js description: Next.js is a flexible React framework that gives you building blocks to create fast, full-stack web applications. Learn how to set it up with Sentry. sdk: sentry.javascript.nextjs categories: + - javascript - browser - server + - server-node diff --git a/docs/platforms/javascript/guides/node/config.yml b/docs/platforms/javascript/guides/node/config.yml new file mode 100644 index 0000000000000..90d689d5147b7 --- /dev/null +++ b/docs/platforms/javascript/guides/node/config.yml @@ -0,0 +1,7 @@ +title: Node +sdk: sentry.javascript.node +categories: + - javascript + - server + - server-node + - serverless diff --git a/docs/platforms/javascript/guides/react/config.yml b/docs/platforms/javascript/guides/react/config.yml index a15b07eded7ca..c21149790e068 100644 --- a/docs/platforms/javascript/guides/react/config.yml +++ b/docs/platforms/javascript/guides/react/config.yml @@ -2,4 +2,5 @@ title: React description: "Learn about Sentry's React SDK and how it automatically reports errors and exceptions in your application." sdk: sentry.javascript.react categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/remix/config.yml b/docs/platforms/javascript/guides/remix/config.yml index 2524f7192d022..bbca1357a175f 100644 --- a/docs/platforms/javascript/guides/remix/config.yml +++ b/docs/platforms/javascript/guides/remix/config.yml @@ -2,5 +2,7 @@ title: Remix description: Sentry's Remix SDK enables automatic reporting of errors and exceptions, as well as the performance metrics for both client and server side operations. sdk: sentry.javascript.remix categories: + - javascript - browser - server + - server-node diff --git a/docs/platforms/javascript/guides/solid/config.yml b/docs/platforms/javascript/guides/solid/config.yml index 54dff81005f39..d9fd7bf08ad92 100644 --- a/docs/platforms/javascript/guides/solid/config.yml +++ b/docs/platforms/javascript/guides/solid/config.yml @@ -1,4 +1,5 @@ title: Solid sdk: sentry.javascript.solid categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/svelte/config.yml b/docs/platforms/javascript/guides/svelte/config.yml index 4f6d2565b3d9b..ff16cb57b26de 100644 --- a/docs/platforms/javascript/guides/svelte/config.yml +++ b/docs/platforms/javascript/guides/svelte/config.yml @@ -1,4 +1,5 @@ title: Svelte sdk: sentry.javascript.svelte categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/sveltekit/config.yml b/docs/platforms/javascript/guides/sveltekit/config.yml index 0be0f851197c6..4d9752dce1b25 100644 --- a/docs/platforms/javascript/guides/sveltekit/config.yml +++ b/docs/platforms/javascript/guides/sveltekit/config.yml @@ -1,5 +1,7 @@ title: SvelteKit sdk: sentry.javascript.sveltekit categories: + - javascript - browser - server + - server-node diff --git a/docs/platforms/javascript/guides/vue/config.yml b/docs/platforms/javascript/guides/vue/config.yml index 8d3413c41b7d4..1f09d3ee21f11 100644 --- a/docs/platforms/javascript/guides/vue/config.yml +++ b/docs/platforms/javascript/guides/vue/config.yml @@ -1,4 +1,5 @@ title: Vue sdk: sentry.javascript.vue categories: + - javascript - browser diff --git a/docs/platforms/javascript/guides/wasm/config.yml b/docs/platforms/javascript/guides/wasm/config.yml new file mode 100644 index 0000000000000..d9fd3fe031ae3 --- /dev/null +++ b/docs/platforms/javascript/guides/wasm/config.yml @@ -0,0 +1,5 @@ +title: Wasm +sdk: sentry.javascript.wasm +categories: + - javascript + - browser