Goto Chapter: Top 1 2 3 4 5 6 7 Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

3 Maintaining the GAP documentation
 3.1 The source of the GAP documentation
 3.2 How to compile the GAP manuals from the sources

3 Maintaining the GAP documentation

This chapter explains how the GAP documentation is organized and how to build it.

3.1 The source of the GAP documentation

The sources of the reference manual, the tutorial, the HPC-GAP manual and this manual are in doc/ref, doc/tut, doc/hpc and doc/dev, written in the format of the GAPDoc package. Parts of the reference manual are kept in the library sources, mostly in .gd files next to the declarations they describe.

dev/ci.sh testmanuals extracts the <Example> blocks of the reference manual and the tutorial and runs those of each chapter in a fresh GAP, with screen width 72 and the user preference ReproducibleBehaviour set. An example must therefore fit in 72 columns and produce the output shown when run in that order. <Log> blocks are not run.

3.2 How to compile the GAP manuals from the sources

To compile the GAP manuals from sources, call


make html

in the GAP root directory, or make doc to also build the PDF versions. Each manual is compiled twice to resolve cross-references.

If you need to compile a single manual book, call


gap makedocrel.g

in the corresponding directory (ref, tut, hpc or dev). This is convenient when you're working on the documentation and want to check if the changed manual book compiles, so you need not to recompile all manual books from scratch.

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 6 7 Ind

generated by GAPDoc2HTML