Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. What Documentation Actually Gets Used
Python & Django

What Documentation Actually Gets Used

The documentation a Python service needs: a setup guide, a runbook for when things break and a decision record, not long documents nobody reads.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

A setup guide, a runbook and a record of decisions. Comprehensive documentation goes stale and unread; those three stay useful.

Most documentation is not read

Long documents describing what the code does go stale within months and are consulted by nobody, because the code itself is a more reliable description.

Document what the code cannot say: how to run it, what to do when it breaks, and why a decision was made.

Three documents worth having

  1. A setup guide — how to get it running locally, tested by someone who has not done it
  2. A runbook — what breaks, how to tell, what to do about it
  3. A decisions record — why particular choices were made

The setup guide is the practical test

If a competent developer cannot get the service running from the documentation within a day, the documentation is incomplete regardless of its length.

  • Every prerequisite named with a version
  • Every configuration value listed with an example
  • The steps in order, tested by following them
  • What success looks like at the end

The runbook is what you need at 7am

EntryContains
Each alertWhat it means, first three checks
DeploymentSteps, and how to roll back
Scheduled jobsWhat runs when, and what if it did not
DependenciesWho to contact at each provider
Common problemsSymptom and resolution

Record decisions as you make them

Why a particular approach was chosen, what was rejected and why, and which apparent oddities are deliberate. Written at the time, in a paragraph.

That record stops the next developer from re-litigating a settled decision or removing something that turns out to be load-bearing.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Where should documentation live?

In the repository, alongside the code. Documentation in a separate system drifts because nobody updates it with the change.

How much is enough?

The three documents above. Beyond that, docstrings on non-obvious functions and nothing more.

Should we generate documentation from code?

For an API, yes — generated from schemas so it cannot drift. For internal code, docstrings are usually sufficient.

Who should write it?

Whoever wrote the code, as they go. Documentation written afterwards as a separate task rarely happens.

Keep reading

More on Python & Django

Python & Django

An API Other Systems Can Depend On

Designing a Python API service others can depend on: validation at the boundary, consistent errors and status codes, early versioning and documentation.

Python & Django

Moving and Transforming Data Reliably

Building data pipelines in Python that cope with malformed input: restartable stages, quarantining failures, reconciling counts and alerting on absence.

Start here

Service only one person understands?

That is a continuity risk. Three short documents fix most of it.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →