--- a/makedoc.g
+++ b/makedoc.g
@@ -7,7 +7,8 @@
     Error("AutoDoc 2016.01.21 or newer is required");
 fi;
 
-AutoDoc(rec( scaffold := rec( MainPage := false )));
+AutoDoc(rec( scaffold := rec( MainPage := false ),
+             gapdoc := rec( gap_root_relative_path := true )));
 
 MakeGAPDocDoc( "lib/datatypes/doc", # path to the directory containing the main file
                "resolutionAccess",  # the name of the main file (without extension)
@@ -20,7 +21,7 @@
   "../resolutionAccess_LargeGroupRep.gd", "../resolutionAccess_LargeGroupRep.gi", 
   "../resolutionAccess_SmallGroupRep.gd", "../resolutionAccess_SmallGroupRep.gi", 
   "../resolutionAccess_generic.gd", "../resolutionAccess_generic.gi" ],
-               "resolutionAccess",# the name of the book used by GAP's online help
+               "HAPprog",# the name of the book used by GAP's online help
                "../../../../..", # optional: relative path to the main GAP root 
                            # directory to produce HTML files with relative 
                            # paths to external books.
