code: protected void addIndex(Content body) {
          addIndexContents(profiles, "doclet.Profile_Summary",
                  configuration.getText("doclet.Member_Table_Summary",
                  configuration.getText("doclet.Profile_Summary"),
                  configuration.getText("doclet.profiles")), body);
      }
docs: Adds the frame or non-frame profile index to the documentation tree.
  
  @param body the document tree to which the index will be added