Darlo Technical Writing

Publishing pipelines and versioning

$149 · enrolled · 15 min
A short video walkthrough accompanies this lesson. The full written lesson is below.

A publishing pipeline turns your documentation source into a live site automatically on merge — no manual copy-paste, no ‘I forgot to deploy the docs’, no window where the site and the source disagree. It is the final piece that makes docs-as-code real: without it, all your version-controlled discipline still ends in a human remembering to publish.

The pipeline should also fail loudly when the docs are broken, so a bad change is stopped before it ships rather than discovered by a reader. A docs deploy that can’t fail is a docs deploy that will eventually ship something broken.

A healthy pipeline

  • Builds on every merge to your main branch, with no human step in the path.
  • Runs your checks — links, lint, build — as gates, so a failure blocks the deploy rather than warning and proceeding.
  • Publishes to a CDN-backed host, because the docs site is a real product surface with real traffic and real latency expectations.

Map what happens today between ‘a docs change is approved’ and ‘a reader sees it’. Count the manual steps. Every manual step is a place the update can stall for days. The goal is zero: merge, and the reader sees it minutes later — or the build fails and nobody sees anything broken.

Versioning

The moment you have users on different releases of your product, versioning stops being optional. Choose deliberately between three common models: a single always-current ‘latest’ (simplest — best for continuously-deployed products); versioned snapshots per release (essential when users pin to old versions); or ‘latest plus the last few majors’ as a pragmatic middle ground. Whatever you choose, make it unmistakable which version the reader is viewing. A reader following v1 docs against a v3 install is a support ticket — and a dent in their trust — waiting to happen.

A SaaS API that’s continuously deployed and has no user-pinned versions: use a single ‘latest’ — anything else is overhead. A self-hosted product where customers run v2, v3 and v4 in production: you need versioned snapshots, or three-quarters of your readers are reading docs that don’t match their install. Match the model to how your users actually consume your product, not to what looks thorough.

Treat the docs site like a product

Its uptime, speed and search matter, because for many prospects the docs are the first thing they read — often before they ever sign up. A slow, ugly or broken docs site quietly costs you deals you never even see, because the evaluator simply moves on. Give it the monitoring and performance budget you’d give any customer-facing surface.

In the age of AI

AI assistants and ‘chat with the docs’ features are only ever as good as the source they read. A clean, versioned, single-sourced pipeline is exactly what makes your docs a reliable substrate for those tools — and what stops an assistant from confidently quoting a deprecated version at your customers. Good publishing hygiene is now doing double duty: it serves human readers and the machines that increasingly answer on your behalf.

Answer, then press Check. Explanations appear after.

True / FalseVersioning matters as soon as users are on different releases of your product.

Choose oneA healthy publishing pipeline should…

This lesson is part of Technical Writing Pro

Enrol to unlock all 12 lessons — $149.