Replace hand-made Moved stub pages with real redirects - #352
Conversation
Three pages contained only a "Moved, see..." line that readers had to click through manually (advanced/compile-analog, advanced/ compile-wled, basics/compiling-wled). Use the mkdocs-redirects plugin instead: the old URLs now serve an instant meta-refresh redirect with a canonical link to advanced/compiling-wled, so bookmarks and inbound links keep working and search engines get the right signal. The plugin is added to the deploy workflow and the AGENTS.md pip preview instructions. The Docker preview path needs no change: the squidfunk/mkdocs-material image already bundles mkdocs-redirects through the mkdocs-material[recommended] extra.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (3)
WalkthroughMkDocs now installs and enables the redirects plugin, maps legacy compilation pages to ChangesDocumentation redirect migration
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches✨ Simplify code
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 |
Three pages contain only a "Moved, see..." line that readers have to click through manually:
advanced/compile-analog,advanced/compile-wled, andbasics/compiling-wled. This replaces them with the mkdocs-redirects plugin: the old URLs now serve an instant redirect with a canonical link to Compiling WLED, so old bookmarks and inbound links keep working and search engines index the right page.The plugin is added to the deploy workflow and to the AGENTS.md pip preview instructions. The Docker preview path needs no change: the
squidfunk/mkdocs-materialimage already bundles mkdocs-redirects via themkdocs-material[recommended]extra.Summary by CodeRabbit
Documentation
Bug Fixes