Skip to content

What are docs owners?

Docs owners are the people or teams accountable for a set of pages. They are asked to review changes to those pages and to fix them when they go wrong. In git the simplest mechanism is a CODEOWNERS file that maps docs paths to reviewers, so ownership is versioned and enforced by GitHub itself.

Updated

Why pages need owners

A page without an owner is fixed by whoever notices, which usually means nobody. Ownership makes the question concrete: when a pull request changes the billing code, the billing team's docs get reviewed by the billing team, not by whoever happens to be on call.

Assign them in git

GitHub's CODEOWNERS file maps path patterns to users or teams. A pull request that touches a matching file requests their review automatically, and branch protection can require it.

.github/CODEOWNERS
/docs/api/            @acme/api-team/docs/billing/        @acme/billing/docs/                @acme/docs-team

What owners should cover

  • Reviewing pull requests that change their pages.
  • Deciding whether a flagged finding is real.
  • Fixing or deleting pages that fail an audit.
  • Knowing which code folders their pages describe.

Where Rimfe fits

Rimfe posts its Rimfe check and comment on the code pull request and suggests a patch to the docs. Rimfe asks the owners of the changed pages to review its docs pull requests and tells them when their pages go stale, from an owners key in .rimfe.json or from CODEOWNERS. Who must approve is still decided by branch protection.

Ownership and audits

Ownership matters most when a page goes wrong without a pull request, for example when a dependency changes behavior. A scheduled audit lists pages whose statements the code contradicts. Sending each finding to the owner of that path, rather than to a shared channel, turns a list nobody reads into a short queue that someone clears.

Common mistakes

  • Owning everything with one broad rule, so every pull request asks the same two people.
  • Naming an individual instead of a team, which breaks when they change roles.
  • Forgetting generated and translated folders, which then notify owners about files they cannot edit.
  • Treating ownership as approval only. Owners also need to know when an audit finds their page wrong.

Try it on your next pull request.

Free for public repositories, with unlimited members.

Start free with GitHub