Skip to content

docs: add Content-Signal AI crawler directive to robots.txt - #307

Open
Reccetech wants to merge 1 commit into
mainfrom
feat/ai-crawler-robots
Open

docs: add Content-Signal AI crawler directive to robots.txt#307
Reccetech wants to merge 1 commit into
mainfrom
feat/ai-crawler-robots

Conversation

@Reccetech

Copy link
Copy Markdown

Summary

  • Adds layouts/robots.txt so /robots.txt includes Content-Signal: ai-train=yes, search=yes, ai-input=yes and a Sitemap line
  • No hugo.yaml change — enableRobotsTXT: true is already set
  • Uses Content-Signal rather than a per-bot allow-list (same approach as docs.hedera.com)

Related: #304 (Initiative 4 / priority 4)

Test plan

  • Preview build completes without Hugo errors
  • /robots.txt shows the new template (not Hugo's bare User-agent: * only)
  • Sitemap: URL is correct for preview and production base URLs
  • No unintended Disallow rules introduced

Override Hugo's bare default robots.txt with an explicit Content-Signal
(ai-train/search/ai-input) plus Sitemap, matching the modern pattern used
on docs.hedera.com.

Related: #304

Signed-off-by: Keith Kowal <keith.kowal@hashgraph.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Reccetech Reccetech changed the title docs: add Content-Signal AI crawler directive to robots.txt (#304) docs: add Content-Signal AI crawler directive to robots.txt Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants