This chapter explains how the GAP documentation is organized and how to build it.
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.
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.
generated by GAPDoc2HTML