Files
David Karlsson bca4905aef Declare AI content usage preferences in robots.txt
Add Content-Signal directive opting in to AI training, search indexing,
and AI input (RAG/grounding). Docker's official docs benefit from wide
distribution through AI assistants, so permitting training and grounding
is aligned with the site's purpose.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 15:32:47 +02:00

20 lines
459 B
Plaintext

{{- /*
For Netlify deployments, we disallow all routes to prevent search
engines from indexing our preview sites.
*/
-}}
{{- if hugo.IsProduction -}}
User-agent: *
Disallow: /unassociated-machines/
Content-Signal: ai-train=yes, search=yes, ai-input=yes
Sitemap: {{ "sitemap.xml" | absURL }}
{{- else -}}
# Disable all indexing on staging websites and Netlify previews to prevent
# them showing up in search results.
User-agent: *
Disallow: /
{{- end }}