I recently came across an awesome framework for creating better technical documentation: The Diátaxis framework developed by Daniele Procida. It is a well-structured system that you can immediately apply to improve your software documentation. The basic idea goes like this.