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 · 7 min read
Docs drift after every release. Here are five questions to ask when choosing a documentation platform for your startup, from freshness to hosting.
What happens to your docs the day after you ship? For most startups, the answer is nothing, and that's the problem. The code moves, the docs don't, and a customer finds the gap before you do. If you're searching for the best documentation platform for startups, a nice theme matters less than five practical questions: does the content stay current, who approves changes, what does it cost to start, where do your files live, and can you bring what you already have?
This guide walks through those five checks in order.
Most platform comparisons focus on the first draft: the editor, the templates, the look. The real question is whether the platform keeps documentation accurate after launch, not just whether the first draft looks polished.
That question gets harder every quarter. GitHub's Octoverse report says developers merged 43.2 million pull requests on average each month, up 23% year over year. More merges mean more chances for a page to go quietly wrong. In Postman's 2025 State of the API Report, 55% of respondents said they struggle with inconsistent documentation.
Readers also depend on those pages. Stack Overflow's 2025 Developer Survey found technical documentation is the most used resource for learning, with nearly 68% of respondents using it in the past year. DORA's 2023 research adds that high-quality documentation drastically increases the effectiveness of technical capabilities on organizational performance.
A small team has no dedicated writer watching every diff. So ask each vendor what happens when a pull request merges:
You can build part of this yourself. CI is good at noticing that something changed and running a job. Path filters can limit docs jobs to public surfaces like API specs, SDK exports, CLI commands, and config schemas. But noticing a change is different from knowing which paragraph is now wrong. Find out which of those two things the platform does.
Automated doc updates sound great until one publishes something false. Automation is fine as long as it can be checked.
A common question from growing teams is "Can docs update automatically after a merge without adding a manual review step every time?" Technically, yes. But you shouldn't want that for customer-facing content. A drafted update is a claim about your product, and someone who knows the product should approve it before it goes public. The goal is to make review cheap enough that it takes a minute and not an afternoon, without removing it.
Evidence is what makes review that cheap. A useful update PR should show:
With that in front of them, a reviewer can approve or reject in the time it takes to read a diff. Without it, they have to redo the investigation themselves, and the automation saved nothing.
Hold the line on two requirements:
Startups shouldn't have to run docs infrastructure, and they shouldn't have to sign a contract to find out if a tool works. Check three things.
Hosting. Is there a managed option so nobody on your team babysits a build pipeline? Is there also a self-host path if your needs change?
Preview. Can you see a change rendered before it merges? A preview per pull request catches broken links, bad formatting, and wrong code samples before readers do. If you build your own pipeline, add a quality gate so a broken docs build fails before it ships.
A real free tier. Look at what the free plan actually includes. Can you publish a real site on it? Does it include the update automation, or only hosting? The Thally free plan, for example, includes one managed site, and the underlying engine is MIT-licensed, so you can self-host it.
Your readers aren't only people anymore. In Stack Overflow's 2025 survey, 84% of respondents said they are using or planning to use AI tools in their development process. Those tools answer questions about your product whether or not your docs are easy for them to parse.
So ask what the platform publishes besides HTML:
Writers shouldn't have to learn any of this. They author once, and the platform produces every format from that single source. If machine-readable output requires a second workflow, your team will skip it under deadline pressure.
Where do your docs actually live? If the answer is "in the vendor's database," you have a lock-in problem that will show up later.
Keeping content in your own Git repository gives a small team several things for free:
Then check permissions. A tool that reads your code to detect changes needs access to your repositories, so ask exactly how much. A read-only GitHub App is a much smaller commitment than one that can write to your product code. The tool should propose changes through pull requests on the docs content. It shouldn't hold broad write access to everything.
Also ask what format the source is in. Plain Markdown or MDX in a repo is readable by any editor and any future tool. A proprietary block format is not.
For governance, Git handles most of what a startup needs. Branch protection and required reviewers answer the question of who is allowed to publish. Layer team roles on top when you grow.
Almost nobody starts from zero. You have a README that grew into a folder of Markdown, or a site on another docs tool. A migration that requires rewriting everything will never get scheduled.
Ask these questions before you commit:
Then run a real test. Import your actual docs, not a sample project, and click through the pages you know are complicated.
Run every candidate through the same five checks:
The best choice is not always the most feature-heavy one. It's the one that fits your release rhythm and contributor mix.
To test the first check against your own repo, Thally Track runs an impact analysis on your last five merged PRs and shows which pages they affected. Whichever tool you use, look at the evidence for each flagged page before you accept it.
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.