The satellite constellation which have strict format and involve query and calculation of multiple telemetry parameters. In order to solve the problem of large workload and long time consuming in preparing health management documents of satellite constellation, a method of document automatic generation is proposed. By classifying and analyzing the basic data types of the document, making the configuration file storage rules, customizing the document templates, and applying the automatic document generation algorithm to translate the document template into data-gathering documents, the knowledge reuse and general content generation in the process of document preparation are realized. The standard and effective document preparation process is established.