Chapter 2. Using the synopsis tool

Table of Contents

Option Handling
Parsing Source-code
Emulating A Compiler
Using Comments For Documentation

In this section we are going to explore the possibilities to generate documentation from source code. We will demonstrate how to use synopsis standalone as well as in conjunction with existing build systems. Further, we will see how to adapt synopsis to your coding and commenting style, as well as how to generate the output in a format and style that fulfills your needs.