Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
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 (2)
📝 WalkthroughWalkthroughThe pull request modifies the sitemap generation logic to exclude API documentation paths from the generated sitemap. The Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Comment |
What
Exclude all
/docs/api/**URLs from the generated sitemap.Why
API docs should not appear in the sitemap for now.
How
Filter entries with
/docs/api/prefix inSitemapBuilder.Generate()— the single method both the build-time and production sitemap paths funnel through.Test plan
dotnet test --filter SitemapTests— all 7 tests pass including newGenerate_ExcludesApiDocsFromSitemapNotes
Marked with a
TODOcomment for easy removal when API docs are ready for sitemap inclusion.