Skip to content

Commit 4b35ec3

Browse files
authored
fix: update build command to include pre-build steps (#15686)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This is a fix to remedy a regression introduced in PR #15637. That PR pre-computes the doc tree at build time with `generate-doctree`. However the 404-lint job was using `yarn next build`, which skips pre-build steps so the doctree was not available causing a failure. Also fixed subsequent broken links that were caught by the now functioning 404 check. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
1 parent 9ffb328 commit 4b35ec3

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.github/workflows/lint-404s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- run: yarn install --frozen-lockfile
4444

45-
- run: yarn next build
45+
- run: yarn build
4646
if: steps.filter.outputs.docs == 'true'
4747
env:
4848
SENTRY_DSN: https://[email protected]/0

docs/platforms/apple/common/migration/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ HTTP client errors now mark sessions as errored. This provides better visibility
5050

5151
### Profiling Changes
5252

53-
We removed all deprecated profiling APIs in version [9.0.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.0.0). The only supported profiling method is now <PlatformLink to="/profiling/#enable-ui-profiling">UI Profiling</PlatformLink> (also known as continuous V2 profiling), which was introduced in [version 8.49.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.49.0).
53+
We removed all deprecated profiling APIs in version [9.0.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.0.0).
54+
55+
<PlatformSection notSupported={["apple.tvos", "apple.watchos", "apple.visionos"]}>
56+
57+
The only supported profiling method is now <PlatformLink to="/profiling/#enable-ui-profiling">UI Profiling</PlatformLink> (also known as continuous V2 profiling), which was introduced in [version 8.49.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.49.0).
5458

5559
**Removed deprecated profiling options from `SentryOptions`:**
5660
- `profilesSampleRate` - used for transaction-based profiling (deprecated)
@@ -75,6 +79,8 @@ SentrySDK.start { options in
7579

7680
For more information, see the <PlatformLink to="/profiling/#enable-ui-profiling">UI Profiling documentation</PlatformLink>.
7781

82+
</PlatformSection>
83+
7884
### Breaking Changes
7985

8086
#### Option Changes

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ A number between `0` and `1` that sets the percentage of how many sessions shoul
560560

561561
Determines how profiling sessions are controlled. It has two modes:
562562

563-
- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the <PlatformLink to="/profiling">profiling API documentation</PlatformLink>.
563+
- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`.<PlatformSection notSupported={["javascript.bun", "javascript.cordova", "javascript.capacitor", "javascript.deno", "javascript.cloudflare"]}> Read more about these functions in the <PlatformLink to="/profiling">profiling API documentation</PlatformLink>.</PlatformSection>
564564
- `'trace'`: Profiling starts and stops automatically with transactions, as long as tracing is enabled. The profiler runs as long as there is at least one sampled transaction. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`).
565565

566566
</SdkOption>
@@ -597,7 +597,7 @@ A number between `0` and `1` that sets the percentage of how many sessions shoul
597597

598598
Determines how profiling sessions are controlled. It has two modes:
599599

600-
- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the <PlatformLink to="/profiling">profiling API documentation</PlatformLink>.
600+
- `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`.<PlatformSection notSupported={["javascript.bun", "javascript.cordova", "javascript.capacitor", "javascript.deno", "javascript.cloudflare"]}> Read more about these functions in the <PlatformLink to="/profiling">profiling API documentation</PlatformLink>.</PlatformSection>
601601
- `'trace'`: Profiling starts and stops automatically with transactions, as long as tracing is enabled. The profiler runs as long as there is at least one sampled transaction. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`).
602602

603603
</SdkOption>

docs/product/user-feedback/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ og_image: /og-images/product-user-feedback.png
77

88
Sentry automatically detects errors thrown by your application, such as performance issues and user experience problems like rage clicks. But there are other frustrations your users may encounter (broken permission flows, broken links, typos, misleading UX, business logic flaws, and so on).
99

10-
Thats where Sentrys User Feedback Widget and Crash-Report Modal features come in. Setting up one or both lets you collect feedback from your end-users when they run into bugs in your application. Sentry then links that feedback to available rich debugging context, including errors, replays, and tags such as URL, allowing you to get to the root of the problem faster.
10+
That's where Sentry's User Feedback Widget and Crash-Report Modal features come in. Setting up one or both lets you collect feedback from your end-users when they run into bugs in your application. Sentry then links that feedback to available rich debugging context, including errors, replays, and tags such as URL, allowing you to get to the root of the problem faster.
1111

1212
For example, using [Session Replay](/product/explore/session-replay/) with the User Feedback Widget could save you time, helping you quickly understand the context of the user problem by seeing exactly what they experienced before submitting their feedback.
1313

1414
## User Feedback Widget
1515

16-
The User Feedback Widget is an out-of-the-box, persistent widget you can add anywhere on your web application. It allows users to submit feedback quickly and easily any time they encounter something that isnt working as expected. Learn more about how to install and customize it [here](/product/user-feedback/setup/) and recommended best practices [here](/product/sentry-basics/user-feedback-basics/).
16+
The User Feedback Widget is an out-of-the-box, persistent widget you can add anywhere on your web application. It allows users to submit feedback quickly and easily any time they encounter something that isn't working as expected. Learn more about how to install and customize it [here](/product/user-feedback/setup/) and recommended best practices [here](/product/sentry-basics/user-feedback-basics/).
1717

1818
![User Feedback widget.](./img/user-feedback-widget.png)
1919

20-
Feedback collected via the Feedback Widget may have some or all of the following information (depending on what you mark as required and whats available from the error context):
20+
Feedback collected via the Feedback Widget may have some or all of the following information (depending on what you mark as required and what's available from the error context):
2121

2222
- Description from the user
2323
- Screenshot from the user
@@ -46,7 +46,7 @@ We also provide an API to send user feedback programmatically. This allows you t
4646

4747
## Where to View User Feedback
4848

49-
Whether you choose to collect user feedback via the Feedback Widget, the Crash-Report Modal, or both, youll be able to view it from the **User Feedback** page. The page is chronologically-organized with the most recent, unresolved feedback at the top. You can click on individual feedback to see more details all in one view, similar to your e-mail inbox. The right-hand side shows the **User Feedback Details** view, which includes the users description and any available debugging context.
49+
Whether you choose to collect user feedback via the Feedback Widget, the Crash-Report Modal, or both, you'll be able to view it from the **User Feedback** page. The page is chronologically-organized with the most recent, unresolved feedback at the top. You can click on individual feedback to see more details all in one view, similar to your e-mail inbox. The right-hand side shows the **User Feedback Details** view, which includes the user's description and any available debugging context.
5050

5151
You can narrow down the results in the feedback list by using the project, environment, and date range filters.
5252

@@ -100,7 +100,7 @@ If your organization has enabled Generative AI Features, Sentry will auto-detect
100100

101101
To make automatic spam detection possible, we use a Large Language Model that classifies messages. This language model is internal to Google Cloud Platform and no data is stored or persisted. This is part of our existing [sub-processor agreement](https://sentry.io/legal/dpa/#subprocessors).
102102

103-
If youd like to opt out of spam detection, turn off "Enable Spam Detection" in [Settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/) > Projects > [Project Name] > User Feedback (under “Project”).
103+
If you'd like to opt out of spam detection, turn off "Enable Spam Detection" in [Settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/) > Projects > [Project Name] > User Feedback (under “Project”).
104104

105105

106106

0 commit comments

Comments
 (0)