Skip to content

Commit 22a4b3a

Browse files
authored
fix: Fix broken AI banner due to invalid syntax (#14627)
Introduced here: https://github.com/getsentry/sentry-docs/pull/14460/files#r2230814651
1 parent dab3112 commit 22a4b3a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

platform-includes/llm-rules-platform/_default.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Sentry provides a set of rules you can use to help your LLM use Sentry correctly. Copy this file and add it to your projects rules configuration. When created as a rules file this should be placed alongside other editor specific rule files. For example, if you are using Cursor, place this file in the `.cursorrules` directory.
44

5-
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/javascript.tsx).
6-
If you make any changes, please update the getting started doc accordingly. _/}
5+
{/* ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/javascript.tsx).
6+
If you make any changes, please update the getting started doc accordingly. */}
77

88
````markdown {filename:rules.md}
99
These examples should be used as guidance when configuring Sentry functionality within a project.

platform-includes/llm-rules-platform/javascript.nextjs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Sentry provides a set of rules you can use to help your LLM use Sentry correctly. Copy this file and add it to your projects rules configuration. When created as a rules file this should be placed alongside other editor specific rule files. For example, if you are using Cursor, place this file in the `.cursorrules` directory.
44

5-
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/nextjs.tsx).
6-
If you make any changes, please update the getting started doc accordingly. _/}
5+
{/* ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/nextjs.tsx).
6+
If you make any changes, please update the getting started doc accordingly. */}
77

88
````markdown {filename:rules.md}
99
These examples should be used as guidance when configuring Sentry functionality within a project.

platform-includes/llm-rules-platform/javascript.node.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Sentry provides a set of rules you can use to help your LLM use Sentry correctly. Copy this file and add it to your projects rules configuration. When created as a rules file this should be placed alongside other editor specific rule files. For example, if you are using Cursor, place this file in the `.cursorrules` directory.
44

5-
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/node/node.tsx).
6-
If you make any changes, please update the getting started doc accordingly. _/}
5+
{/* ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/node/node.tsx).
6+
If you make any changes, please update the getting started doc accordingly. */}
77

88
````markdown {filename:rules.md}
99
These examples should be used as guidance when configuring Sentry functionality within a project.

platform-includes/llm-rules-platform/javascript.react.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Sentry provides a set of rules you can use to help your LLM use Sentry correctly. Copy this file and add it to your projects rules configuration. When created as a rules file this should be placed alongside other editor specific rule files. For example, if you are using Cursor, place this file in the `.cursorrules` directory.
44

5-
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/react.tsx).
6-
If you make any changes, please update the getting started doc accordingly. _/}
5+
{/* ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/react.tsx).
6+
If you make any changes, please update the getting started doc accordingly. */}
77

88
````markdown {filename:rules.md}
99
These examples should be used as guidance when configuring Sentry functionality within a project.

0 commit comments

Comments
 (0)