---
title: "Checking generated llms.txt and markdown: Agent Ready HTML"
description: "Why an old llms.txt blocks or overrides the generated file in Yoast SEO and Mintlify, and how removing it brings the generated one back."
canonical: https://agentreadyhtml.com/guides/check-your-platforms-generated-llms-txt-and-markdown/
site: "Agent Ready HTML"
last_updated: 2026-11-22
date: 2026-11-22
section: "Guides"
---

# Checking generated llms.txt and markdown: Agent Ready HTML

> Why an old llms.txt blocks or overrides the generated file in Yoast SEO and Mintlify, and how removing it brings the generated one back.

Source: https://agentreadyhtml.com/guides/check-your-platforms-generated-llms-txt-and-markdown/
Site: Agent Ready HTML
Last reviewed: 2026-11-22

# An older llms.txt can block or override the generated one

In short

A leftover llms.txt can stop or override the generated file. Yoast SEO may warn that it cannot generate its file because one already exists, so you must remove the old file from the server first. On Mintlify, a root llms.txt overrides the generated file, and deleting it restores the generated one.

Published 22 November 2026

Open /llms.txt on the live domain first. Mintlify also hosts the file at /.well-known/llms.txt ([Mintlify's llms.txt page](https://www.mintlify.com/docs/ai/llmstxt)). Shopify serves /llms.txt at the bare primary domain, without a locale or Shopify Markets subfolder prefix ([Shopify's template docs](https://shopify.dev/docs/storefronts/themes/architecture/templates/llms-txt-liquid)).

## Rule out an older file

1.  **Delete a leftover llms.txt from a WordPress server.** Yoast SEO may warn that it can't generate an llms.txt automatically because one already exists, and you need to remove the existing file from the server before it can ([Yoast's specification](https://developer.yoast.com/features/llms-txt/functional-specification/)). If another plugin serves llms.txt dynamically, Yoast's file is still created and, having higher priority, is what example.com/llms.txt displays.
2.  **Find custom files in a Mintlify or ReadMe project.** On Mintlify, an llms.txt or llms-full.txt at the project root overrides the generated file of the same name, and deleting it restores the generated one ([Mintlify](https://www.mintlify.com/docs/ai/llmstxt)). On ReadMe, a custom llms.txt is no longer updated automatically as you change content, and you can disable it at any time to go back to the automatic file ([ReadMe's llms.txt page](https://docs.readme.com/main/docs/llmstxt)).
3.  **Check a Shopify theme for llms.txt.liquid.** By default Shopify mirrors the content of /agents.md at /llms.txt, and the lookup order is llms.txt.liquid, then agents.md.liquid, then the Shopify-generated default ([Shopify](https://shopify.dev/docs/storefronts/themes/architecture/templates/llms-txt-liquid)). A dedicated llms.txt.liquid takes precedence for /llms.txt only, and whoever adds it hand-edits the template and takes responsibility for keeping its content current. Fetch /llms.txt and /agents.md and compare the two.

Related: [How to write an llms.txt that gets followed](https://agentreadyhtml.com/guides/write-an-llms-txt-that-gets-followed/)

## Check which pages the index lists

4.  **Read the Yoast selection rules against your content.** Yoast SEO includes the 5 latest updated posts, pages and custom post types, takes posts only if they were published in the last 12 months, and gives priority to cornerstone content first ([Yoast](https://developer.yoast.com/features/llms-txt/functional-specification/)). For pages, selecting Manual page selection in the llms.txt settings overrides this logic. Categories and tags are the 5 with the most content pieces attached.
5.  **Check what authentication and noindex hide on Mintlify.** On a partially authenticated site both generated files are public but list only public pages; on a fully authenticated site both require authentication ([Mintlify](https://www.mintlify.com/docs/ai/llmstxt)). Hidden pages and pages with noindex: true are excluded unless docs.json sets seo.indexing: "all", and only the default language and default version are listed.
6.  **Confirm the GitBook and ReadMe visibility rules.** GitBook's llms.txt lists every published page with a Markdown version, and hidden pages are included in llms-full.txt ([GitBook](https://gitbook.com/docs/publishing-documentation/llm-ready-docs)). ReadMe includes only published, visible pages ([ReadMe](https://docs.readme.com/main/docs/llmstxt)).
7.  **Test a noindex page on Framer.** Framer says pages marked noindex through site settings are respected, and markdown is only generated for optimized pages ([Framer's help article](https://www.framer.com/help/articles/make-site-readable-by-ai-agents/)). Add ?md to the page URL in a browser to preview what agents receive.

## Match the refresh schedule

8.  **Know when the file changes.** Yoast updates its file weekly by a scheduled action ([Yoast](https://developer.yoast.com/features/llms-txt/functional-specification/)). ReadMe updates the file whenever your docs change ([ReadMe](https://docs.readme.com/main/docs/llmstxt)), and Mintlify says its file is always up to date ([Mintlify](https://www.mintlify.com/docs/ai/llmstxt)).

## Find each page's markdown

9.  **Append .md to a page URL.** Fern, GitBook, Mintlify and ReadMe each return a page's markdown at its URL with .md appended ([Fern](https://buildwithfern.com/learn/docs/ai-features/llms-txt), [GitBook](https://gitbook.com/docs/publishing-documentation/llm-ready-docs), [Mintlify's markdown export](https://www.mintlify.com/docs/ai/markdown-export), [ReadMe](https://docs.readme.com/main/docs/llmstxt)). GitBook's root landing page sits at /.md, so https://gitbook.com/docs becomes https://gitbook.com/docs/.md.
10.  **Send Accept: text/markdown.** Framer returns markdown instead of HTML for a request with that header, and also for any page URL with a md query parameter that needs no value ([Framer](https://www.framer.com/help/articles/make-site-readable-by-ai-agents/)). Mintlify answers Accept: text/markdown or Accept: text/plain on any page URL; its own example is `curl -L -H "Accept: text/markdown" https://mintlify.com/docs/ai/markdown-export`.
11.  **Read the lines the generator adds.** Framer includes a ## Navigation section at the bottom of each markdown page. In Mintlify's markdown, links to other pages in your navigation point to their Markdown versions, links to pages outside it keep their path without .md, and each page ends with a line stating that Mintlify builds and hosts the documentation unless branding is removed.

Related: [Markdown negotiation by platform](https://agentreadyhtml.com/markdown-negotiation-by-platform/)

## Check the companion files

12.  **Request /llms-full.txt.** GitBook publishes one at the docs site's root URL with the full documentation in one place ([GitBook](https://gitbook.com/docs/publishing-documentation/llm-ready-docs)), and Mintlify hosts one at the project root, adding a note below the site title that the file may be truncated when it is larger than 100 KB ([Mintlify](https://www.mintlify.com/docs/ai/llmstxt)). Fern doesn't generate llms-full.txt ([Fern](https://buildwithfern.com/learn/docs/ai-features/llms-txt)).
13.  **Fetch section and locale indexes on Fern.** Fern serves llms.txt at the site root, for every navigation node that contains pages, and for each non-default locale at /{locale}/llms.txt, leaving pages that fall back to default-language content out of that locale's index. Custom files configured via agents in docs.yml are only served for the default locale. A request for `/<page>/llms.txt` returns a 301 redirect to `/<page>.md` with the query string preserved.
14.  **Fetch ReadMe section files.** A custom ReadMe llms.txt is pulled from the root of your repo and from each section directory, for example docs/llms.txt ([ReadMe](https://docs.readme.com/main/docs/llmstxt)). On a private project protected by Project Members Only or Custom Login, send your project API key in the Authorization header to read llms.txt files, including category files like `/docs/<category>/llms.txt`. On a project protected by a Site-wide Password, agents cannot access the file.
15.  **Read Mintlify's discovery headers.** Mintlify adds headers to every response, including Markdown responses and 404 pages: a Link header that advertises /llms.txt with rel="llms-txt" and /llms-full.txt with rel="llms-full-txt", and an X-Llms-Txt header. Under a base path, every advertised path includes that prefix.

## Check the format

16.  **Validate the structure.** An H1 with the name of the project or site is the only required section; a blockquote summary may follow, and H2 sections hold file lists, each a markdown list with a required \[name\](url) link and optional notes ([llmstxt.org](https://llmstxt.org/)). Links in the file should point to LLM-friendly content such as the markdown versions of pages.

Related: [llms.txt validator](https://agentreadyhtml.com/llms-txt-validator/)

## Sources

1.  [Mintlify: llms.txt](https://www.mintlify.com/docs/ai/llmstxt) https://www.mintlify.com/docs/ai/llmstxt, read 22 November 2026
2.  [Mintlify: Markdown export](https://www.mintlify.com/docs/ai/markdown-export) https://www.mintlify.com/docs/ai/markdown-export, read 22 November 2026
3.  [GitBook: LLM-ready docs](https://gitbook.com/docs/publishing-documentation/llm-ready-docs) https://gitbook.com/docs/publishing-documentation/llm-ready-docs, read 22 November 2026
4.  [ReadMe: LLMs.txt](https://docs.readme.com/main/docs/llmstxt) https://docs.readme.com/main/docs/llmstxt, read 22 November 2026
5.  [Fern: llms.txt](https://buildwithfern.com/learn/docs/ai-features/llms-txt) https://buildwithfern.com/learn/docs/ai-features/llms-txt, read 22 November 2026
6.  [Yoast SEO: llms.txt functional specification](https://developer.yoast.com/features/llms-txt/functional-specification/) https://developer.yoast.com/features/llms-txt/functional-specification/, read 22 November 2026
7.  [Shopify: llms.txt.liquid](https://shopify.dev/docs/storefronts/themes/architecture/templates/llms-txt-liquid) https://shopify.dev/docs/storefronts/themes/architecture/templates/llms-txt-liquid, read 22 November 2026
8.  [Framer: Make your site readable by AI agents](https://www.framer.com/help/articles/make-site-readable-by-ai-agents/) https://www.framer.com/help/articles/make-site-readable-by-ai-agents/, read 22 November 2026
9.  [llmstxt.org: The /llms.txt file](https://llmstxt.org/) https://llmstxt.org/, read 22 November 2026

Last reviewed 22 November 2026

Edition

Crawl

2026-11-04

Page updated

2026-11-22

Method

How the viewer reads a page, how a file is graded and how a platform is scored: [the method page](https://agentreadyhtml.com/method/).
