Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Allow: /
User-agent: ClaudeBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

Expand All @@ -28,4 +31,28 @@ Allow: /
User-agent: Google-CloudVertexBot
Allow: /

User-agent: Bingbot
Allow: /

User-agent: cohere-ai
Allow: /

User-agent: DuckAssistBot
Allow: /

User-agent: xAI-Bot
Allow: /

User-agent: Amazonbot
Allow: /

User-agent: AI2Bot
Allow: /

User-agent: YouBot
Allow: /

User-agent: CCBot
Allow: /

Sitemap: https://github.github.com/gh-aw/sitemap-index.xml
27 changes: 27 additions & 0 deletions docs/tests/robots-txt.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const EXPECTED_ROBOTS_TXT = [
'User-agent: ClaudeBot',
'Allow: /',
'',
'User-agent: Claude-SearchBot',
'Allow: /',
'',
'User-agent: PerplexityBot',
'Allow: /',
'',
Expand All @@ -31,6 +34,30 @@ const EXPECTED_ROBOTS_TXT = [
'User-agent: Google-CloudVertexBot',
'Allow: /',
'',
'User-agent: Bingbot',
'Allow: /',
'',
'User-agent: cohere-ai',
'Allow: /',
'',
'User-agent: DuckAssistBot',
'Allow: /',
'',
'User-agent: xAI-Bot',
'Allow: /',
'',
'User-agent: Amazonbot',
'Allow: /',
'',
'User-agent: AI2Bot',
'Allow: /',
'',
'User-agent: YouBot',
'Allow: /',
'',
'User-agent: CCBot',
'Allow: /',
'',
'Sitemap: https://github.github.com/gh-aw/sitemap-index.xml',
'',
].join('\n');
Expand Down