Skip to content

What is docs review?

Docs review is the habit of asking, on every pull request, whether the change makes any documentation wrong or leaves new behavior undocumented. It is separate from proofreading. The reviewer checks claims against code. Done by hand it is slow and easy to skip, so teams automate the first pass.

Updated

The three questions

  • Does any page now contradict the code?
  • Does the change add behavior no page describes?
  • Does any code sample use a function, flag, env var, route or config key the change renamed or removed?
The pull request diff leads to three docs review questions

Doing it by hand

Search the docs for every name the diff changes: flags, routes, config keys, function names. Read each hit in context. Note the sentence that is now false and the page that should mention the new behavior. It works, and it is exactly the step people skip when a pull request is large or the author is in a hurry.

Automating the first pass

A bot can do the search every time. The useful ones show evidence, the changed line and the page's sentence, and stay silent when nothing is wrong. Rimfe works this way: a non-blocking check on the pull request, one comment, and a Markdown patch you can apply. A person still decides.

What good looks like

  • Findings with quoted proof, not vague warnings.
  • No comment when the docs are right.
  • A scope that skips generated pages, changelogs and old versions.
  • A way to dismiss a finding with a reason, and an ignore for paths that never need docs.

Who does it

The author is best placed to name the pages a change affects, because they know which behavior moved. The reviewer is best placed to confirm, because they read the diff with fresh eyes. Put the docs question in the pull request template so neither assumes the other will ask it. When a bot raises a finding, the author fixes it or dismisses it with a reason, and the reviewer checks the patch the same way they check code.

Try it on your next pull request.

Free for public repositories, with unlimited members.

Start free with GitHub