Documentation unit tests
simonwillison.net
simonwillison.net
It requires keeping the documentation in the same repository as the code, which I think is a great pattern: it means you can craft single commits that incorporate the code change, the unit tests and the supporting documentation. And if you implement documentation unit tests your code review CI system can help enforce that for you.