Docs as Code, Without the Religion
Storing documentation in the repository, reviewed in pull requests and built by CI, is a good default for software teams. We recommend it often. What we push back on is the religion that sometimes grows around it — the belief that if docs are not exactly like code, someone has failed.
What the approach genuinely buys
Version history that matches the software's history. Review workflows your engineers already understand. A single source of truth that can be branched alongside a feature instead of updated from memory three weeks after it ships. For API references and developer guides, these are real, compounding advantages.
Where the dogma breaks
Marketing pages do not need a build pipeline. A non-technical support lead should not need to learn Git to fix a typo in a help article. And a docs toolchain with fourteen plugins and a custom theme is a product your team now maintains forever — we have audited setups where the documentation build was the most fragile build in the company.
The test we use with clients: can the person responsible for a page fix that page, alone, in under ten minutes? If the workflow fails that test, the workflow is wrong, no matter how elegant the architecture diagram looks.
Our usual landing spot
Developer-facing docs in the repo, in plain Markdown, with the lightest static generator that does the job. Everything else in whatever tool its owners already use, linked rather than duplicated. Docs as code where code is the audience; docs as writing everywhere else.