fix(website): link supported-models and supported-nodes cards to cano… - #15546
Conversation
…nical trailing-slash URLs Internal links from the /p/supported-models/ and /cloud/supported-nodes/ index pages omitted the trailing slash, while every page's own canonical tag (built by absoluteUrl() in utils/jsonLd.ts) always includes one. The mismatch meant on-page links pointed at a URL distinct from the one each page declares as canonical, which is consistent with an SEO crawl reporting these pages as having no internal links pointing at them.
🎭 Playwright: ⏳ Running... |
🎨 Storybook: 🚧 Building... |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe website now generates pack and supported-model URLs with trailing slashes. English and Chinese cloud-node end-to-end assertions match the updated URL format. Pack card utility classes were reordered without behavior changes. ChangesURL Alignment
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized change aligns internal links with canonical trailing-slash URLs; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 inconclusive)
✅ Passed checks (6 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 |
Summary
Internal links from the /p/supported-models/ and /cloud/supported-nodes/ index pages
omitted the trailing slash, while every page's own canonical tag (built by
absoluteUrl() in utils/jsonLd.ts) always includes one. On-page links therefore
pointed at a URL string distinct from each page's declared canonical — consistent
with SEO tooling reporting these pages as having no internal links pointing at them.
Fix: append the trailing slash to both link sources so they match the canonical URL.
Pages Affected