code: protected void addProfilePackagesIndex(Content body, String profileName) {
          addProfilePackagesIndexContents(profiles, "doclet.Profile_Summary",
                  configuration.getText("doclet.Member_Table_Summary",
                  configuration.getText("doclet.Profile_Summary"),
                  configuration.getText("doclet.profiles")), body, profileName);
      }
docs: Adds the frame or non-frame profile packages index to the documentation tree.
  
  @param body the document tree to which the index will be added
  @param profileName  the name of the profile being documented