From 58b8d5c088ea1b615190369f4df406e912fca301 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 19 Feb 2025 19:57:12 +0100 Subject: [PATCH 1/3] feat: nintendo switch --- docs/platforms/nintendo-switch/index.mdx | 23 +++++++++++++++++++++++ src/components/platformIcon.tsx | 7 +++++++ src/data/platforms.yml | 4 ++++ src/middleware.ts | 4 ---- 4 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 docs/platforms/nintendo-switch/index.mdx diff --git a/docs/platforms/nintendo-switch/index.mdx b/docs/platforms/nintendo-switch/index.mdx new file mode 100644 index 0000000000000..d3a1e9e188a83 --- /dev/null +++ b/docs/platforms/nintendo-switch/index.mdx @@ -0,0 +1,23 @@ +--- +title: Nintendo Switch +caseStyle: PascalCase +supportLevel: production +sdk: sentry.nintendo-switch +categories: + - console + - gaming +--- + + + +To start using Sentry in your Nintendo Switch games, you can +- register at the end of the [Sentry Middleware page](https://developer.nintendo.com/group/development/getting-started/g1kr9vj6/middleware/sentry) +- and enable your games in [CRPORTAL](https://crash-report.wc.lp1.er.srv.nintendo.net/). + +Additinally, you can refer to the +[Sentry integration overview](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs) for more information how the +integration works and what needs to be configured in order to see symbolicated stack traces. + +--- + +"Nintendo", "Nintendo Switch" are trademarks or registered trademarks of Nintendo. diff --git a/src/components/platformIcon.tsx b/src/components/platformIcon.tsx index 6c42e480b9cd0..82d0450a4fef4 100644 --- a/src/components/platformIcon.tsx +++ b/src/components/platformIcon.tsx @@ -87,6 +87,7 @@ import MongodbSVG from 'platformicons/svg/mongodb.svg'; import NativecSVG from 'platformicons/svg/nativec.svg'; import NestjsSVG from 'platformicons/svg/nestjs.svg'; import NextjsSVG from 'platformicons/svg/nextjs.svg'; +import NintendoSwitchSVG from 'platformicons/svg/nintendo-switch.svg'; import NodejsSVG from 'platformicons/svg/nodejs.svg'; import NuxtSVG from 'platformicons/svg/nuxt.svg'; import OpenaiSVG from 'platformicons/svg/openai.svg'; @@ -224,6 +225,7 @@ import MongodbSVGLarge from 'platformicons/svg_80x80/mongodb.svg'; import NativecSVGLarge from 'platformicons/svg_80x80/nativec.svg'; import NestjsSVGLarge from 'platformicons/svg_80x80/nestjs.svg'; import NextjsSVGLarge from 'platformicons/svg_80x80/nextjs.svg'; +import NintendoSwitchSVGLarge from 'platformicons/svg_80x80/nintendo-switch.svg'; import NodejsSVGLarge from 'platformicons/svg_80x80/nodejs.svg'; import NuxtSVGLarge from 'platformicons/svg_80x80/nuxt.svg'; import OpenaiSVGLarge from 'platformicons/svg_80x80/openai.svg'; @@ -632,6 +634,10 @@ const formatToSVG = { sm: NextjsSVG, lg: NextjsSVGLarge, }, + 'nintendo-switch': { + sm: NintendoSwitchSVG, + lg: NintendoSwitchSVGLarge, + }, nuxt: { sm: NuxtSVG, lg: NuxtSVGLarge, @@ -934,6 +940,7 @@ export const PLATFORM_TO_ICON = { native: 'nativec', 'native-qt': 'qt', 'native-wasm': 'wasm', + 'nintendo-switch': 'nintendo-switch', openai: 'openai', perl: 'perl', php: 'php', diff --git a/src/data/platforms.yml b/src/data/platforms.yml index dba963bf9a8ce..c96a3a0577283 100644 --- a/src/data/platforms.yml +++ b/src/data/platforms.yml @@ -126,3 +126,7 @@ type: language name: PowerShell case_style: PascalCase +- slug: nintendo-switch + type: language + name: Nintendo Switch + case_style: PascalCase # Where is this used? diff --git a/src/middleware.ts b/src/middleware.ts index ada6e174c8f9b..8294fed1620d8 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -3278,10 +3278,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [ from: '/product/explore/session-replay/replay-page-and-filters/', to: '/product/explore/session-replay/web/replay-page-and-filters/', }, - { - from: '/platforms/nintendo-switch/', - to: '/platforms/unity/native-support/', - }, { from: '/product/teams/roles/', to: '/organization/membership/#team-level-roles', From f4bcbda7ef3514932eec8cfa6471dcc56b4acff1 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Wed, 26 Feb 2025 08:38:31 +0100 Subject: [PATCH 2/3] updates --- docs/platforms/nintendo-switch/index.mdx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/platforms/nintendo-switch/index.mdx b/docs/platforms/nintendo-switch/index.mdx index d3a1e9e188a83..4215c11f4f5b6 100644 --- a/docs/platforms/nintendo-switch/index.mdx +++ b/docs/platforms/nintendo-switch/index.mdx @@ -10,13 +10,17 @@ categories: -To start using Sentry in your Nintendo Switch games, you can -- register at the end of the [Sentry Middleware page](https://developer.nintendo.com/group/development/getting-started/g1kr9vj6/middleware/sentry) -- and enable your games in [CRPORTAL](https://crash-report.wc.lp1.er.srv.nintendo.net/). +To get started using Sentry in your Nintendo Switch games, you can go to [CRPORTAL](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/get_started). +There you can configure Nintendo's servers to start forwarding your crashes to Sentry. -Additinally, you can refer to the -[Sentry integration overview](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs) for more information how the -integration works and what needs to be configured in order to see symbolicated stack traces. +You can use your current Sentry organization, or use a Nintendo +[Sponsored Plan](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs/subscription) which is free of charge. + +Details on configuring symbol servers are also found [in the documentation in the portal](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs). + +To get additional support from Sentry, you can +[reach out via the middleware page](https://developer.nintendo.com/group/development/getting-started/g1kr9vj6/middleware/sentry). +Or write directly inside the Nintendo Developer Portal's [forum specific for Sentry](https://developer.nintendo.com/group/development/g1kr9vj6/forums/english/-/gts_message_boards/category/333894267). --- From 4dd5a6ec8ea1fc3b4ab6b1e23a712be9847909bb Mon Sep 17 00:00:00 2001 From: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Thu, 20 Mar 2025 15:25:28 +0100 Subject: [PATCH 3/3] review changes --- docs/platforms/nintendo-switch/index.mdx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/platforms/nintendo-switch/index.mdx b/docs/platforms/nintendo-switch/index.mdx index 4215c11f4f5b6..699b5329f319d 100644 --- a/docs/platforms/nintendo-switch/index.mdx +++ b/docs/platforms/nintendo-switch/index.mdx @@ -13,15 +13,6 @@ categories: To get started using Sentry in your Nintendo Switch games, you can go to [CRPORTAL](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/get_started). There you can configure Nintendo's servers to start forwarding your crashes to Sentry. -You can use your current Sentry organization, or use a Nintendo -[Sponsored Plan](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs/subscription) which is free of charge. - -Details on configuring symbol servers are also found [in the documentation in the portal](https://crash-report.wc.lp1.er.srv.nintendo.net/sentry/docs). - -To get additional support from Sentry, you can -[reach out via the middleware page](https://developer.nintendo.com/group/development/getting-started/g1kr9vj6/middleware/sentry). -Or write directly inside the Nintendo Developer Portal's [forum specific for Sentry](https://developer.nintendo.com/group/development/g1kr9vj6/forums/english/-/gts_message_boards/category/333894267). - --- "Nintendo", "Nintendo Switch" are trademarks or registered trademarks of Nintendo.