Skip to content

Commit c85021d

Browse files
authored
feat: nintendo switch (#12850)
* feat: nintendo switch * updates * review changes
1 parent 34ab23d commit c85021d

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Nintendo Switch
3+
caseStyle: PascalCase
4+
supportLevel: production
5+
sdk: sentry.nintendo-switch
6+
categories:
7+
- console
8+
- gaming
9+
---
10+
11+
<PlatformContent includePath="getting-started-primer" />
12+
13+
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).
14+
There you can configure Nintendo's servers to start forwarding your crashes to Sentry.
15+
16+
---
17+
18+
"Nintendo", "Nintendo Switch" are trademarks or registered trademarks of Nintendo.

src/components/platformIcon.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ import MongodbSVG from 'platformicons/svg/mongodb.svg';
8888
import NativecSVG from 'platformicons/svg/nativec.svg';
8989
import NestjsSVG from 'platformicons/svg/nestjs.svg';
9090
import NextjsSVG from 'platformicons/svg/nextjs.svg';
91+
import NintendoSwitchSVG from 'platformicons/svg/nintendo-switch.svg';
9192
import NodejsSVG from 'platformicons/svg/nodejs.svg';
9293
import NuxtSVG from 'platformicons/svg/nuxt.svg';
9394
import OpenaiSVG from 'platformicons/svg/openai.svg';
@@ -227,6 +228,7 @@ import MongodbSVGLarge from 'platformicons/svg_80x80/mongodb.svg';
227228
import NativecSVGLarge from 'platformicons/svg_80x80/nativec.svg';
228229
import NestjsSVGLarge from 'platformicons/svg_80x80/nestjs.svg';
229230
import NextjsSVGLarge from 'platformicons/svg_80x80/nextjs.svg';
231+
import NintendoSwitchSVGLarge from 'platformicons/svg_80x80/nintendo-switch.svg';
230232
import NodejsSVGLarge from 'platformicons/svg_80x80/nodejs.svg';
231233
import NuxtSVGLarge from 'platformicons/svg_80x80/nuxt.svg';
232234
import OpenaiSVGLarge from 'platformicons/svg_80x80/openai.svg';
@@ -640,6 +642,10 @@ const formatToSVG = {
640642
sm: NextjsSVG,
641643
lg: NextjsSVGLarge,
642644
},
645+
'nintendo-switch': {
646+
sm: NintendoSwitchSVG,
647+
lg: NintendoSwitchSVGLarge,
648+
},
643649
nuxt: {
644650
sm: NuxtSVG,
645651
lg: NuxtSVGLarge,
@@ -949,6 +955,7 @@ export const PLATFORM_TO_ICON = {
949955
native: 'nativec',
950956
'native-qt': 'qt',
951957
'native-wasm': 'wasm',
958+
'nintendo-switch': 'nintendo-switch',
952959
openai: 'openai',
953960
perl: 'perl',
954961
php: 'php',

src/data/platforms.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,7 @@
129129
type: language
130130
name: PowerShell
131131
case_style: PascalCase
132+
- slug: nintendo-switch
133+
type: language
134+
name: Nintendo Switch
135+
case_style: PascalCase # Where is this used?

src/middleware.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3314,10 +3314,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
33143314
from: '/product/explore/session-replay/replay-page-and-filters/',
33153315
to: '/product/explore/session-replay/web/replay-page-and-filters/',
33163316
},
3317-
{
3318-
from: '/platforms/nintendo-switch/',
3319-
to: '/platforms/unity/native-support/',
3320-
},
33213317
{
33223318
from: '/product/teams/roles/',
33233319
to: '/organization/membership/#team-level-roles',

0 commit comments

Comments
 (0)