# robots.txt — docs.neosource.dev crawl policy
#
# Counterpart to neosource-app/static/robots.txt (the app origin). Opposite
# posture on purpose: the app blocks its unbounded code-browsing surface,
# whereas this host is nothing BUT bounded, static, prerendered prose — every
# page is real external-search value, so the default is allow.
#
# Only two things are blocked, and neither is a page:
#   /pagefind/  — Starlight's client-side search index (fragment JSON + a wasm
#                 blob). Machine-readable shards of content already indexable
#                 on the pages themselves; pure duplicate crawl budget.
#   /openapi.json — the 1.2 MB generated spec behind /api/. /api/ itself is a
#                 client-rendered Scalar shell with no server HTML, so there is
#                 nothing to index either way; this just keeps a crawler from
#                 repeatedly pulling a megabyte of JSON.

User-agent: *
Disallow: /pagefind/
Disallow: /openapi.json

Sitemap: https://docs.neosource.dev/sitemap-index.xml
