Skip to content

Commit c6ed758

Browse files
authored
feat: xbox docs (#13587)
1 parent c7ce98d commit c6ed758

File tree

5 files changed

+36
-5
lines changed

5 files changed

+36
-5
lines changed

docs/platforms/xbox/index.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Xbox
3+
caseStyle: snake_case
4+
supportLevel: production
5+
sdk: sentry.xbox
6+
categories:
7+
- console
8+
- gaming
9+
---
10+
11+
<PlatformContent includePath="getting-started-primer" />
12+
13+
Sentry supports Xbox via a customized version of the [Native SDK](/platforms/native).
14+
15+
To start using Sentry in your Xbox games, you can [request Microsoft Game Development Kit (GDK) Middleware access](https://developer.microsoft.com/en-us/games/support/request-gdkx-middleware).
16+
17+
We'll receive your request and get back to you with the next steps.
18+
19+
---
20+
21+
"Microsoft", "Xbox" are trademarks of the Microsoft group of companies.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"next-plausible": "^3.12.4",
7575
"next-themes": "^0.3.0",
7676
"nextjs-toploader": "^1.6.6",
77-
"platformicons": "^8.0.1",
77+
"platformicons": "^8.0.3",
7878
"prism-sentry": "^1.0.2",
7979
"query-string": "^6.13.1",
8080
"react": "^19.0.0",

src/components/platformIcon.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ import VueSVG from 'platformicons/svg/vue.svg';
139139
import WasmSVG from 'platformicons/svg/wasm.svg';
140140
import WindowsSVG from 'platformicons/svg/windows.svg';
141141
import XamarinSVG from 'platformicons/svg/xamarin.svg';
142+
import XboxSVG from 'platformicons/svg/xbox.svg';
142143
import ActixSVGLarge from 'platformicons/svg_80x80/actix.svg';
143144
import AiohttpSVGLarge from 'platformicons/svg_80x80/aiohttp.svg';
144145
import AndroidSVGLarge from 'platformicons/svg_80x80/android.svg';
@@ -281,6 +282,7 @@ import VueSVGLarge from 'platformicons/svg_80x80/vue.svg';
281282
import WasmSVGLarge from 'platformicons/svg_80x80/wasm.svg';
282283
import WindowsSVGLarge from 'platformicons/svg_80x80/windows.svg';
283284
import XamarinSVGLarge from 'platformicons/svg_80x80/xamarin.svg';
285+
import XboxSVGLarge from 'platformicons/svg_80x80/xbox.svg';
284286

285287
const formatToSVG = {
286288
HTML5: {
@@ -853,6 +855,10 @@ const formatToSVG = {
853855
sm: XamarinSVG,
854856
lg: XamarinSVGLarge,
855857
},
858+
xbox: {
859+
sm: XboxSVG,
860+
lg: XboxSVGLarge,
861+
},
856862
};
857863

858864
export const PLATFORM_TO_ICON = {
@@ -1039,6 +1045,7 @@ export const PLATFORM_TO_ICON = {
10391045
unrealengine: 'unreal',
10401046
visualbasic: 'visual-basic',
10411047
windows: 'windows',
1048+
xbox: 'xbox',
10421049
// Don't add new platforms down here!
10431050
// Please add them where they belong alphabetically
10441051
} as const;

src/data/platforms.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@
132132
- slug: nintendo-switch
133133
type: language
134134
name: Nintendo Switch
135+
- slug: xbox
136+
type: language
137+
name: Xbox
135138
- slug: playstation
136139
type: language
137140
name: PlayStation

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10561,10 +10561,10 @@ pkg-types@^1.2.1:
1056110561
mlly "^1.7.2"
1056210562
pathe "^1.1.2"
1056310563

10564-
platformicons@^8.0.1:
10565-
version "8.0.1"
10566-
resolved "https://registry.yarnpkg.com/platformicons/-/platformicons-8.0.1.tgz#440bfdfd8cc0eff1468215310d8eed705d8694f4"
10567-
integrity sha512-aHBu172vCSIg3ZnAaIrnMc4EyHgyslqF9XFhNz505f53CZsXmXKTAn5rUOvFhCbYT5Qp6SeUusRiVCrg8h/jOw==
10564+
platformicons@^8.0.3:
10565+
version "8.0.3"
10566+
resolved "https://registry.yarnpkg.com/platformicons/-/platformicons-8.0.3.tgz#edd373277f1d9cf58edff23f2917a79525c3e814"
10567+
integrity sha512-0gAjZxu9CMKkjrE90bOQNgIxKmhDOKPyK5T27RxlTXJxBfrcycm+QrCMdUMqRgU5oBxNWeFg/gnP9Egvuqbg+Q==
1056810568
dependencies:
1056910569
"@types/node" "*"
1057010570
"@types/react" "*"

0 commit comments

Comments
 (0)