Skip to content

fix: links, sdk/* selector#153

Merged
dcrawbuck merged 2 commits intomainfrom
dcrawbuck/sdk-link-fix
Mar 30, 2026
Merged

fix: links, sdk/* selector#153
dcrawbuck merged 2 commits intomainfrom
dcrawbuck/sdk-link-fix

Conversation

@dcrawbuck
Copy link
Copy Markdown
Collaborator

@dcrawbuck dcrawbuck commented Mar 30, 2026

Restores /docs/sdk as a real selector route and resolves /sdk/* links client-side so shared and non-SDK docs no longer 404 in-app. Reverts shared and non-SDK authored SDK links back to /sdk/*, keeps redirects as fallback, and adds a source link check to stop regressions. Simplifies the selector UI copy and trims the over-expanded shared content blocks back to single shared sections. Verification: bun test, bun run check:links:source, and bun run build:cf. Resolves SW-4876.


Note

Low Risk
Low risk documentation-only changes plus a new CI-style link validation script; primary risk is broken navigation if any rewritten paths are incorrect.

Overview
Updates a large set of MDX docs links to point at the current canonical routes (notably moving many legacy /docs/* and older dashboard paths to /dashboard/*, /sdk/*, and /web-checkout/*) and fixes a few missing trailing newlines.

Adds next-validate-link plus a new check:links:source script (scripts/check-source-links.ts) to scan/validate source links against the app’s routes (including sdk/docs/sdk selector and splat routes) to prevent future link regressions.

Written by Cursor Bugbot for commit eac61e0. This will update automatically on new commits. Configure here.

@linear
Copy link
Copy Markdown

linear bot commented Mar 30, 2026

SW-4876 [docs] fix links

@dcrawbuck dcrawbuck changed the title Restore SDK placeholder navigation fix: links, sdk/* selector Mar 30, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 30, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs-staging eac61e0 Commit Preview URL

Branch Preview URL
Mar 30 2026, 08:30 PM

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3ca55b1cf2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@dcrawbuck dcrawbuck merged commit 3ff5bba into main Mar 30, 2026
3 checks passed
@dcrawbuck dcrawbuck deleted the dcrawbuck/sdk-link-fix branch March 30, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant