Skip to content

Commit 4b78c95

Browse files
committed
Merge branch 'master' into markushi/chore/update-docs-for-mobile-screens
2 parents f1bc62d + 49365e6 commit 4b78c95

File tree

1,681 files changed

+19348
-9913
lines changed

Some content is hidden

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

1,681 files changed

+19348
-9913
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@
3434
# /src/wizard/rust/ @getsentry/owners-native
3535

3636
# /src/docs/product/discover-queries/ @getsentry/visibility
37-
# /src/docs/product/performance/ @getsentry/visibility
37+
# /src/docs/product/insights/ @getsentry/insights
3838

3939
# /src/docs/cli/dif.mdx @getsentry/owners-native
4040

41-
# /.github/labels.yml @getsentry/open-source
42-
# /.github/workflows/react-to-product-owners-yml-changes.yml @getsentry/open-source
43-
# /bin/react-to-product-owners-yml-changes.py @getsentry/open-source
44-
# /bin/react-to-product-owners-yml-changes.sh @getsentry/open-source
41+
# /.github/labels.yml @getsentry/dev-infra
42+
# /.github/workflows/react-to-product-owners-yml-changes.yml @getsentry/dev-infra
43+
# /bin/react-to-product-owners-yml-changes.py @getsentry/dev-infra
44+
# /bin/react-to-product-owners-yml-changes.sh @getsentry/dev-infra
4545

4646
# ###### Replays #######
4747

48-
# /src/docs/product/session-replay/ @getsentry/replay
49-
# /src/includes/session-replay-web-report-bug.mdx @getsentry/replay
50-
# /src/platform-includes/session-replay/ @getsentry/replay @getsentry/replay-sdk-web
51-
# /src/platforms/javascript/common/session-replay/ @getsentry/replay @getsentry/replay-sdk-web
52-
# /src/wizard/javascript/replay-onboarding/ @getsentry/replay @getsentry/replay-sdk-web
48+
# /src/docs/product/session-replay/web @jas-kas @getsentry/replay-sdk-web @getsentry/replay-frontend @getsentry/replay-backend
49+
# /src/docs/product/session-replay/mobile @jas-kas @getsentry/replay-sdk-mobile @getsentry/replay-frontend @getsentry/replay-backend
50+
# /src/includes/session-replay-web-report-bug.mdx @getsentry/replay-sdk-web
51+
# /src/platform-includes/session-replay/ @getsentry/replay-sdk-web @getsentry/replay-sdk-mobile
52+
# /src/platforms/javascript/common/session-replay/ @getsentry/replay-sdk-web
5353

54-
# /src/docs/product/dev-toolbar/ @getsentry/replay
54+
# /src/docs/product/dev-toolbar/ @ryan953 @jas-kas
5555

5656
# ###### End Replays #######

.github/workflows/algolia-index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
12+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
1313
id: setup-node
1414
with:
1515
node-version-file: 'package.json'

.github/workflows/bump-api-schema-sha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/[email protected]
1515
- name: Get auth token
1616
id: token
17-
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
17+
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
1818
with:
1919
app-id: ${{ vars.SENTRY_INTERNAL_APP_ID }}
2020
private-key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }}

.github/workflows/lint-404s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
14+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
1515
id: setup-node
1616
with:
1717
node-version-file: 'package.json'

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: Get auth token
1717
id: token
18-
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
18+
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
1919
with:
2020
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2121
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/react-to-product-owners-yml-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/[email protected]
1313

14-
- uses: getsentry/action-setup-venv@v1.0.5
14+
- uses: getsentry/action-setup-venv@v2.1.1
1515
with:
1616
python-version: 3.11.3
1717

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2525

26-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
26+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
2727
id: setup-node
2828
with:
2929
node-version-file: 'package.json'

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }}
2222
private_key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }}
2323

24-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
24+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
2525
id: setup-node
2626
with:
2727
node-version-file: 'package.json'
@@ -62,7 +62,10 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- uses: actions/[email protected]
65-
- uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0
65+
- name: Set up Node
66+
uses: actions/setup-node@v4
67+
with:
68+
node-version-file: 'package.json'
6669
- uses: actions/cache@v4
6770
id: cache
6871
with:

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
"git.ignoreLimitWarning": true,
1313
"search.exclude": {
1414
"**/src/wizard/**": true
15-
}
15+
},
16+
"cSpell.words": [
17+
"laravel"
18+
]
1619
}

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,16 @@ export async function generateMetadata(props: MetadataProps): Promise<Metadata>
200200
: domain;
201201
let title =
202202
'Sentry Docs | Application Performance Monitoring &amp; Error Tracking Software';
203-
let customCanonicalTag;
203+
let customCanonicalTag: string = '';
204204
let description =
205205
'Self-hosted and cloud-based application performance monitoring &amp; error tracking that helps software teams see clearer, solve quicker, &amp; learn continuously.';
206-
const images = [{url: `${previewDomain ?? domain}/meta.jpg`, width: 1200, height: 822}];
206+
// show og image on the home page only
207+
const images =
208+
((await props.params).path ?? []).length === 0
209+
? [{url: `${previewDomain ?? domain}/og.png`, width: 1200, height: 630}]
210+
: [];
211+
212+
let noindex: undefined | boolean = undefined;
207213

208214
const rootNode = await getDocsRootNode();
209215

@@ -223,6 +229,8 @@ export async function generateMetadata(props: MetadataProps): Promise<Metadata>
223229
if (pageNode.frontmatter.customCanonicalTag) {
224230
customCanonicalTag = formatCanonicalTag(pageNode.frontmatter.customCanonicalTag);
225231
}
232+
233+
noindex = pageNode.frontmatter.noindex;
226234
}
227235
}
228236

@@ -249,5 +257,6 @@ export async function generateMetadata(props: MetadataProps): Promise<Metadata>
249257
alternates: {
250258
canonical,
251259
},
260+
robots: noindex ? 'noindex' : undefined,
252261
};
253262
}

0 commit comments

Comments
 (0)