Add Content-Signal directives to robots.txt - #536
Conversation
Replace Hugo's default generated robots.txt with a template declaring search=yes, ai-input=yes, ai-train=no. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe robots template adds content signals for search and AI use, allows all user agents to crawl the site, and emits a dynamic sitemap URL. ChangesRobots policy
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change adds the intended robots.txt directives and sitemap URL without introducing an actionable merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Deploying website with
|
| Latest commit: |
38d37c5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6cf465a4.website-1u6.pages.dev |
| Branch Preview URL: | https://feat-robots-content-signals.website-1u6.pages.dev |
Adds
layouts/robots.txtso Hugo renders a real robots.txt instead of its default stub (enableRobotsTXTwas already enabled inconfig/production/hugo.yaml).Declared signals:
Search indexing and AI-assistant retrieval are allowed so people can find CRS docs; use of the content for model training is not. The file also emits the sitemap URL via
absURL.Note:
subsite/docsis a separate repo (submodule) and serves its own robots.txt — the same file needs to be added there for docs.coreruleset.org.Reference: https://contentsignals.org/
🤖 Generated with Claude Code
Summary by CodeRabbit
robots.txtpolicy with content signals for search, AI input, and AI training.