Previous Topic: Documentation StandardsNext Topic: Documenting Commands


Considerations

Prescriptive documentation is needed before a system exists, in order to specify what it will be like. It may include computer-based definitions such as prototypes or data models. Prescriptive documentation includes high-level system definition documentation, such as a requirements specification or a component architecture overview.

Descriptive documentation is needed after a system exists to record what it does. There is considerable scope for producing most descriptive documentation automatically from the objects and source that comprise an application. The CA 2E Toolkit application documentation utilities mostly produce descriptive documentation, which is detailed here.

Once a system is implemented, the majority of documentation will probably only be required to cope with change, either to the system or of personnel. Take a facultative approach to the actual production of your documentation\-\-— that is to say it should only actually be created when required, but the capability to produce it on demand should be built into the system. Software tools to produce facultative documentation should include scanning, cross-referencing, and list handling facilities. Ideally, it should be possible to produce different views of the documentation to meet different types of users’ needs, for instance, analyst, tester, and programmer. The computer should regenerate all but the highest level of documentation automatically. This means that it will automatically stay up-to-date if changes are made.

The following diagram shows the organization of system documentation as a pyramid of levels: the commands used to print the documentation at each level are shown in bold type in brackets. It should be possible to produce all of the documentation up to the dotted line automatically.