GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
## this creates the documentation, needs: GAPDoc and AutoDoc packages, pdflatex
##
## Call this with GAP from within the package directory.
##
if fail = LoadPackage("AutoDoc", ">= 2016.01.21") then
Error("AutoDoc 2016.01.21 or newer is required");
fi;
AutoDoc(rec( scaffold := rec( MainPage := false )));
PrintTo("version", GAPInfo.PackageInfoCurrent.Version);