fix: correct url for private data plane#567
Conversation
- changed the folder name from 'private-date-plane' to 'private-data-plane' - changed the sidebars.ts to match the new file path
📝 WalkthroughWalkthroughFixes a typo in ChangesSidebar Doc ID Typo Fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
en/sidebars.ts (1)
2119-2129: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick winAdd a redirect for the old docs path
en/docusaurus.config.tshas no redirect setup, so the oldprivate-date-planeURLs will still 404 and break existing bookmarks/search results.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@en/sidebars.ts` around lines 2119 - 2129, The new “Private Data Plane” sidebar entry is added, but the old `private-date-plane` docs URLs still need a redirect to avoid 404s. Update the redirect setup in `docusaurus.config.ts` to map the legacy private-data-plane path to the new `manage/cloud/private-data-plane/overview` route, and make sure the redirect covers the old slug so existing bookmarks and search results continue working.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@en/sidebars.ts`:
- Around line 2119-2129: The new “Private Data Plane” sidebar entry is added,
but the old `private-date-plane` docs URLs still need a redirect to avoid 404s.
Update the redirect setup in `docusaurus.config.ts` to map the legacy
private-data-plane path to the new `manage/cloud/private-data-plane/overview`
route, and make sure the redirect covers the old slug so existing bookmarks and
search results continue working.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 539e1d56-fd99-4bb0-816b-ad5f162e7727
📒 Files selected for processing (4)
en/docs/manage/cloud/private-data-plane/management-models.mden/docs/manage/cloud/private-data-plane/overview.mden/docs/manage/cloud/private-data-plane/security-levels.mden/sidebars.ts
Broken links, images & orphan pages
Links/images come from one crawl of the production build (baseUrl-aware). Orphans are docs not referenced by Summary
Broken links & imagesIntroduced by this PRNo new broken link(s)/image(s) introduced by this PR. ✅ Already on
|
Purpose
The
private-date-planedocumentation folder is misspelled - it should beprivate-data-plane. Because these pages have noslug/idfrontmatter override and the site usesrouteBasePath: '/', the typo is served directly in the public URL. The page title and body content already read "Private Data Plane" correctly; only the URL slug is wrong.Currently live at the misspelled URL (note "date" instead of "data"):
https://wso2.com/integration-platform/docs/manage/cloud/private-date-plane/overview
Goals
Correct the folder name so the published URL reads
/manage/cloud/private-data-plane/..., matching the page content and the spelling used elsewhere in the docs.This is purely a slug correction - no visible page content changes. Note that it changes the published URL, so the old
/private-date-plane/paths will 404 after merge (see Migrations).Approach
en/docs/manage/cloud/private-date-plane/→en/docs/manage/cloud/private-data-plane/(3 files, renamed without content changes).en/sidebars.tsto the new path.User stories
N/A
Release note
Corrected the misspelled URL slug for the Private Data Plane documentation pages (
private-date-planetoprivate-data-plane).Documentation
N/A - this PR is itself a documentation change. Affected pages:
Training
N/A
Certification
N/A
Marketing
N/A
Automation tests
Security checks
Samples
N/A
Related PRs
N/A
Migrations (if applicable)
The published URL changes from
/manage/cloud/private-date-plane/*to/manage/cloud/private-data-plane/*. Old URLs will 404 after merge.Test environment
Verified locally
Learning
N/A
Summary by CodeRabbit