I'm doing Yet Another PHP Framework for the fun and sport of it, and I'm doing the first rounds of documentation. I'm planning to code a little, document what I've coded, code some more, adjust the documents to reflect the code's new abilities, repeat. For example, the configuration is pretty manual and tedious at the moment, but I'm documenting it as it needs to be configured as it is today. Once I get as far as automating the setup, I'm planning on rewriting those parts, to reflect the current status.
What I'm wondering, are there any heuristics to keeping the reference documentation up-to-date? I'm not just talking about documenting the API (which kind of comes for free with PHPDoc and the likes), but also the greater scheme; the tutorials, overview-articles—everything. Are there any good ways to minimize the chance to forget to update something special?