Skip to content

Commit 8200601

Browse files
committed
make marker uppercase
1 parent 4e9cea0 commit 8200601

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/platforms/javascript/guides/hono/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ app.get("/", () => {
7676
export default Sentry.withSentry(
7777
(env) => ({
7878
dsn: "___PUBLIC_DSN___",
79-
// ___product_option_start___ performance
79+
// ___PRODUCT_OPTION_START___ performance
8080

8181
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
8282
// Learn more at
8383
// https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
8484
tracesSampleRate: 1.0,
85-
// ___product_option_end___ performance
85+
// ___PRODUCT_OPTION_END___ performance
8686
}),
8787
app
8888
);
@@ -132,13 +132,13 @@ export const onRequest = [
132132
// Make sure Sentry is the first middleware
133133
Sentry.sentryPagesPlugin((context) => ({
134134
dsn: "___PUBLIC_DSN___",
135-
// ___product_option_start___ performance
135+
// ___PRODUCT_OPTION_START___ performance
136136

137137
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
138138
// Learn more at
139139
// https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
140140
tracesSampleRate: 1.0,
141-
// ___product_option_end___ performance
141+
// ___PRODUCT_OPTION_END___ performance
142142
})),
143143
// Add more middlewares here
144144
];

src/components/docPage/type.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
[data-onboarding-option].hidden {
204204
display: none;
205205
}
206-
// force hide markers (___product_option_start___ and ___product_option_end___)
206+
// force hide markers (___PRODUCT_OPTION_START___ and ___PRODUCT_OPTION_END___)
207207
[data-onboarding-option-hidden] {
208208
display: none;
209209
}

src/rehype-onboarding-lines.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ function visitor(node) {
3838
let currentOption;
3939

4040
// product options syntax
41-
// ___product_option_start___ performance
41+
// ___PRODUCT_OPTION_START___ performance
4242
// some lines here
43-
// ___product_option_end___ performance
44-
const PRODUCT_OPTION_START = '___product_option_start___';
45-
const PRODUCT_OPTION_END = '___product_option_end___';
43+
// ___PRODUCT_OPTION_END___ performance
44+
const PRODUCT_OPTION_START = '___PRODUCT_OPTION_START___';
45+
const PRODUCT_OPTION_END = '___PRODUCT_OPTION_END___';
4646
node.children?.forEach(line => {
4747
const lineStr = toString(line);
4848
if (lineStr.includes(PRODUCT_OPTION_START)) {

0 commit comments

Comments
 (0)