How to create a high-quality reference guide?

A reference guide is a detailed reference of some particular part of software. It is a more advanced version of a user guide, which is created for users, who are familiar with the software but need some details or quick guidance regarding certain aspects of a product....