Skip to content

Catch legacy /pro .md docs links#73

Merged
justin808 merged 1 commit intomainfrom
jg/doc-slug-redirects
Apr 2, 2026
Merged

Catch legacy /pro .md docs links#73
justin808 merged 1 commit intomainfrom
jg/doc-slug-redirects

Conversation

@justin808
Copy link
Copy Markdown
Member

@justin808 justin808 commented Apr 2, 2026

Summary

  • add missing redirects for /pro/react-on-rails-pro.md and /pro/home-pro.md
  • keep upstream-synced Markdown-style Pro links landing on /docs/pro/ during the slug-cleanup rollout
  • keep the change scoped to redirect coverage only; site-shell canonical link changes are already on main

Test Plan

  • npm run build:full
    • succeeds and generates prototypes/docusaurus/build
    • still warns about upstream docs-content links/anchors, including /docs/introduction -> ../pro/home-pro.md

Context


Note

Low Risk
Low risk: only updates static redirect rules, with no application logic or data/security impact; potential issues are limited to misrouting if a rule is incorrect.

Overview
Adds two missing 301 redirect rules in prototypes/docusaurus/static/_redirects so legacy Markdown-style Pro URLs (/pro/react-on-rails-pro.md and /pro/home-pro.md) resolve to /docs/pro/ during the ongoing slug cleanup.

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

Current synced docs still emit /pro/home-pro.md-style paths during the slug cleanup rollout. Add matching redirects so those legacy Markdown-style URLs land on /docs/pro/ instead of 404ing.
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Warning

Rate limit exceeded

@justin808 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 2 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 26 minutes and 2 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 787f7ca5-a90d-4f6f-b15c-2ec2332e17db

📥 Commits

Reviewing files that changed from the base of the PR and between 927f89c and 492e318.

📒 Files selected for processing (1)
  • prototypes/docusaurus/static/_redirects
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jg/doc-slug-redirects

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Cloudflare preview deployed.

@justin808 justin808 merged commit 6d8dbae into main Apr 2, 2026
4 checks passed
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