Published · 8 min read
How to create an llms.txt file for your docs
Learn how to create llms.txt for your documentation: what goes in it, how to write or generate one, and how to keep it accurate after each release.
Published · 8 min read
Docs out of date after release? Learn how to trace merged pull requests to the quickstarts, pricing pages, and help articles they made wrong.
You merged the pull request, the release went out, and the changelog is accurate. Now, which pages are wrong? Not the page for the feature you changed, which someone probably updated. The other ones: the quickstart that uses the old flag, the pricing page that describes the old limit, the help article with the screenshot of a menu that no longer exists. If you have docs out of date after release and can't name the pages, this guide walks through how to find them and fix them without reading every ticket and diff by hand.
Start with a hypothetical. A merge renames a webhook setting and moves the secret from the account level to the project level. The webhooks reference page gets updated in the same sprint, and everyone considers the docs done.
Here is what that change can leave behind:
None of those pages is "the docs for" webhooks. They mention the behavior in passing, and that is why they get missed.
Docs rarely go stale because nobody cares. They go stale because the change and the page live in different places, owned by different people, reviewed at different times. Engineering owns the product repo, a docs writer or developer experience lead owns the docs repo, marketing owns the website, and support owns the help center. Nobody decided to leave those pages wrong.
The problem is common enough to show up in every large developer survey. GitHub's 2017 Open Source Survey found that "Incomplete or outdated documentation is a pervasive problem, observed by 93% of respondents". That data is from open source projects, not commercial product docs, and it is several years old. More recent API research points the same way. Postman's 2025 State of the API Report describes teams "With 55% struggling with inconsistent documentation and 34% unable to find existing APIs". And when Postman's 2023 report asked about the top concern when API developers leave, the answer was that the "biggest issue by far is outdated documentation".
Stale pages also cost more than they used to. When an old API or workflow stays documented, AI tools can recommend it, generate it into code, and repeat the mistake at scale. One wrong page no longer misleads one reader at a time.
The manual process looks reasonable on paper. After a release, someone reads the product notes, tickets, changelog, and diff, then checks the docs, website, help center, code samples, and integration guides. In practice it fails for four reasons.
Tickets describe intent, not behavior. A ticket says "support per-project secrets." It doesn't say that the default changed, that an error message was reworded, or that a field was dropped along the way. The diff has that information, but the person reviewing docs often isn't the person who can read it quickly.
Diffs show code, not pages. A diff tells you which files changed. It says nothing about which sentences on which public pages depended on the old behavior. Mapping one to the other is detective work, and it relies on someone remembering every place a feature is mentioned.
Review routing stops at the repository boundary. GitHub's CODEOWNERS feature is useful: "Code owners are automatically requested for review when someone opens a pull request that modifies code that they own". But it routes reviews by file path. It does not show which docs, website, or help-center pages a change made wrong, especially when those pages live in other repos.
The check happens late, if at all. By the time someone audits the docs, the engineer who made the change has moved on to the next three merges. Fast-shipping teams using AI-assisted coding merge more often, which widens the gap.
The cost lands on readers. In the 2024 Stack Overflow Developer Survey, "61% of all respondents spend more than 30 minutes a day searching for answers or solutions to problems". A stale page makes that search longer, then sends the reader to your support queue.

The fix is to turn the question around. Don't ask "are the docs up to date?", which nobody can answer. Ask "what did this merge change, and which pages said otherwise?" You can answer that per merge.
A workable trace has four steps.
State the behavior change in plain language. From the merged PR, write down what is now true that wasn't before: a renamed parameter, a new default, a removed endpoint, a moved setting, a changed limit. Skip refactors and internal changes that leave public behavior alone. For those, the right outcome is an explicit "no change needed."
List every surface that describes the product. That means the docs site, including pages, code samples, OpenAPI descriptions, and llms.txt. It also means the marketing website and the help center. If a surface isn't on the list, it won't get checked.
Search for the behavior, not just the name. Searching for the old parameter name finds the obvious hits. The harder ones are guides, tutorials, support articles, and marketing pages that mention a behavior without being "the docs for" that feature. A quickstart that calls three endpoints in order can break without containing the string you searched for.
Record the evidence for each hit. For every affected page, note the line in the diff that makes it wrong and the sentence or sample on the page that conflicts with it. If you can't point to both, you don't have a finding yet.
You can do this by hand for one merge. Doing it for every merge is where teams give up, and that part is worth automating. Thally Track does this for connected docs, website, and support repositories: it reads the merged change and works out which pages it made inaccurate. You can start by running its impact analysis on your last five merged PRs to see what recent releases left behind.
A list of stale pages is still only a to-do list. Each finding needs to become a change someone can review in a few minutes. A pull request against the content repo is the right format, because it sits in the same workflow engineers already use and it keeps history in Git.
A docs update PR is easy to approve when it includes:
Keep each PR tied to one product change. A PR that bundles fixes from five merges is hard to verify and easy to rubber-stamp. Draft only what the evidence supports. If the diff doesn't show whether a limit changed, the PR should say so and not guess.
This is the step automation handles well. With Thally's Automation, every relevant merge in the repositories you connect produces an evidence-backed docs PR, or a clear "no change needed".

A common question from growing teams is which documentation platform will update docs automatically after pull requests merge, without adding a manual review step every time. No platform should do that for public content. A tool that publishes on its own will eventually publish something confidently wrong, and customers and AI tools will then repeat it.
So keep the review step and make it cheap. Automation should take over the detective work, which is where the hours go. DORA's research on documentation quality notes that documentation has to be actively created and maintained, and that takes work. DORA studies internal documentation, not public product docs, but the point carries over. The work doesn't disappear. You choose where people spend it.
A review step that stays fast looks like this:
A person gets the final say on every published change, and that person no longer has to dig through tickets and diffs to earn it. To see where you stand, pick your last five merged PRs and trace each one to the pages it touched. The pages you find wrong are the ones your readers have already found.
Published under the Thally editorial policy. Technical conformance is defined in the agent-readiness methodology.
Create a managed site, or use the open-source engine to run Thally yourself.