Skip to content

docs: add custom robots.txt with AI crawler allowances and sitemap reference - #634

Merged
gkhngyk merged 1 commit into
mainfrom
docs/robots-txt
Aug 3, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
docs/robots-txt

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a custom robots.txt for the Mintlify-hosted docs site (docs.ansvisor.com), replacing the Mintlify default.

  • Explicitly allows the major AI crawlers (OpenAI, Google, Microsoft, Anthropic, Perplexity, Apple, Common Crawl, Exa, Firecrawl, Amazon, Meta, ByteDance, You.com) — the docs should be maximally visible to answer engines.
  • Keeps /cdn-cgi/ and /_next/ (except /_next/image) disallowed for generic crawlers.
  • References the auto-generated sitemap (Sitemap: https://docs.ansvisor.com/sitemap.xml) so crawlers discover it from robots.

Related issue

None — small docs infrastructure addition.

Type of change

  • docs — Documentation only

How to test

  1. Deploy the docs site (Mintlify picks up a root-level robots.txt automatically).
  2. curl https://docs.ansvisor.com/robots.txt — should return this file instead of the Mintlify default.
  3. Confirm the Sitemap: line points at the live sitemap.xml.

Checklist

  • Changes are focused — one concern per PR

@gkhngyk
gkhngyk merged commit 0ed5a97 into main Aug 3, 2026
5 checks passed
@gkhngyk
gkhngyk deleted the docs/robots-txt branch August 3, 2026 21:37
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.

1 participant