>I’ve been through this documentation story before. I can predict how it ends. By the time you read the documentation it’s out of sync with the code so you end up reading the code anyway. But then you feel bad, so you write more documentation & force yourself to update documentation whenever the code changes. But that takes time away from development & the pressure is on, so you stop writing/updating.
The story doesn't always end this way.
There are two types of documentation:
* Those that don't really go out of sync when you update the app - e.g. intros, overviews, contribution guidelines, justifications, etc.
* Those that can go out of date when you change the code - API references, how to guides, tutorials.
If the latter is autogenerated from tests + test metadata (how-to guides/tutorials) or from code (API references), it won't go out of date.