Every page served to AI agents is automatically prepended with a default directive that tells agents how to navigate your documentation programmatically:
The URLs in the directive are generated from your site’s domain and basepath. The directive is injected after the frontmatter metadata section but before the page body, so agents see it first even if they truncate the rest of the page. It applies to individual page Markdown (.md/.mdx URLs) and to each page section within llms-full.txt, and human-facing documentation is unaffected.
To override the default, set a custom directive using the agents key in docs.yml:
To disable the directive entirely, set page-directive to an empty string: