A bit nitpicky, but perhaps we should run the makedoc.g script with the -A or even the --bare flag? The idea being to catch "hidden" dependencies for this script, e.g. a package that is needed only for a particular example in the documentation? IMO loading such packages (or ensuring they are already loaded) should be done by makedoc.g and not by relying GAP's default list of packages to load.