Skip to content

Commit cf6c253

Browse files
Merge remote-tracking branch 'origin/master' into krystofwoldrich-patch-1
2 parents b2d26b6 + 1353b8a commit cf6c253

File tree

484 files changed

+7587
-5864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+7587
-5864
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# warning: variables prefixed with NEXT_PUBLIC_ will be made available to client-side code
44
# be careful not to expose sensitive data (in this case your Algolia admin key)
55

6-
NEXT_PUBLIC_ALGOLIA_APP_ID=OOK48W9UCL
7-
NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=ca98597f559459c216891b75989832f8
6+
NEXT_PUBLIC_ALGOLIA_APP_ID=
7+
NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=

.env.production

Lines changed: 0 additions & 3 deletions
This file was deleted.

.env.test

Lines changed: 0 additions & 5 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1-
/* eslint-env node */
2-
/* eslint import/no-nodejs-modules:0 */
3-
41
module.exports = {
52
extends: ['sentry-docs', 'plugin:@next/next/recommended'],
63
globals: {
7-
jest: true,
84
Atomics: 'readonly',
95
SharedArrayBuffer: 'readonly',
106
},
117
rules: {
128
'import/no-nodejs-modules': 'off',
139
},
14-
overrides: [
15-
{
16-
files: ['*.ts', '*.tsx'],
17-
rules: {
18-
// Reach is vendored into gatsby. They have their own webpack
19-
// resolution for it which this eslint plugin can't seem to detect
20-
'import/no-unresolved': ['error', {ignore: ['@reach']}],
21-
},
22-
},
23-
],
2410
};

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# /src/docs/product/discover-queries/ @getsentry/visibility
3737
# /src/docs/product/performance/ @getsentry/visibility
3838

39-
# /src/docs/product/cli/dif/ @getsentry/owners-native
39+
# /src/docs/cli/dif.mdx @getsentry/owners-native
4040

4141
# /.github/labels.yml @getsentry/open-source
4242
# /.github/workflows/react-to-product-owners-yml-changes.yml @getsentry/open-source

.github/workflows/algolia-index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- 'develop-docs/**'
2626
- uses: oven-sh/setup-bun@v2
2727
with:
28-
bun-version: latest
28+
bun-version: '1.1.34'
2929

3030
- uses: actions/cache@v4
3131
id: cache

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- id: detect-private-key
1414
exclude: |
1515
(?x)^(
16-
develop-docs/application/config.mdx|
16+
develop-docs/application-architecture/config.mdx|
1717
develop-docs/integrations/github.mdx|
1818
develop-docs/self-hosted/sso.mdx
1919
)$

app/[[...path]]/page.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function MDXLayoutRenderer({mdxSource, ...rest}) {
5858
return <MDXLayout components={mdxComponentsWithWrapper} {...rest} />;
5959
}
6060

61-
export default async function Page({params}: {params: {path?: string[]}}) {
61+
export default async function Page(props: {params: Promise<{path?: string[]}>}) {
62+
const params = await props.params;
6263
// get frontmatter of all docs in tree
6364
const rootNode = await getDocsRootNode();
6465

@@ -172,9 +173,9 @@ export default async function Page({params}: {params: {path?: string[]}}) {
172173
}
173174

174175
type MetadataProps = {
175-
params: {
176+
params: Promise<{
176177
path?: string[];
177-
};
178+
}>;
178179
};
179180

180181
// Helper function to clean up canonical tags missing leading or trailing slash
@@ -188,7 +189,8 @@ function formatCanonicalTag(tag: string) {
188189
return tag;
189190
}
190191

191-
export async function generateMetadata({params}: MetadataProps): Promise<Metadata> {
192+
export async function generateMetadata(props: MetadataProps): Promise<Metadata> {
193+
const params = await props.params;
192194
const domain = isDeveloperDocs
193195
? 'https://develop.sentry.dev'
194196
: 'https://docs.sentry.io';

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
--accent: var(--accent-purple);
1414
--foreground: var(--gray-12);
1515
--cursor-checkbox: pointer;
16+
--default-font-family: var(--font-rubik) !important;
1617
::selection {
1718
background-color: var(--accent-a7);
1819
}

app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const metadata: Metadata = {
3030

3131
export default function RootLayout({children}: {children: React.ReactNode}) {
3232
return (
33-
<html lang="en">
34-
<body className={`${rubik.variable}`}>
33+
<html lang="en" suppressHydrationWarning>
34+
<body className={rubik.variable} suppressHydrationWarning>
3535
<ThemeProvider
3636
attribute="class"
3737
defaultTheme="system"

0 commit comments

Comments
 (0)