Skip to content

fix(source-maps): Hide docs links for non-JS projects#115302

Open
a-hariti wants to merge 2 commits into
getsentry:masterfrom
a-hariti:hide-settings-sourcemaps-url
Open

fix(source-maps): Hide docs links for non-JS projects#115302
a-hariti wants to merge 2 commits into
getsentry:masterfrom
a-hariti:hide-settings-sourcemaps-url

Conversation

@a-hariti
Copy link
Copy Markdown

@a-hariti a-hariti commented May 11, 2026

Only show Source Maps documentation links when the project platform maps to a JavaScript source-map guide.

Non-JS projects keep the Source Maps settings page visible without linking to unrelated JavaScript docs (for now).

We should probably hide the Sourcemaps setting from the sidebar altogether when it's not relevant. I wanted to keep the diff minimal and mitigate this confusion for now.

Example Python Project

image

Example Javascript Project

image

Closes getsentry/sentry-docs#16226
Closes getsentry/sentry-docs#15602
Closes getsentry/sentry-docs#14422
Closes getsentry/sentry-docs#15528
Closes getsentry/sentry-docs#14771
Closes getsentry/sentry-docs#14826
Closes getsentry/sentry-docs#14680
Closes getsentry/sentry-docs#16532
Closes getsentry/sentry-docs#16263
Closes getsentry/sentry-docs#16014
Closes getsentry/sentry-docs#15903
Closes getsentry/sentry-docs#15249

Only show Source Maps documentation links when the project platform maps to a JavaScript source-map guide.

Non-JS projects keep the Source Maps settings page visible without linking to unrelated JavaScript docs (for now).
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 11, 2026
@a-hariti a-hariti marked this pull request as ready for review May 11, 2026 18:36
@a-hariti a-hariti requested a review from a team as a code owner May 11, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

1 participant