code: public static void generate(ConfigurationImpl configuration) throws DocFileIOException {
          DocPath filename = DocPaths.HELP_DOC;
          HelpWriter helpgen = new HelpWriter(configuration, filename);
          helpgen.generateHelpFile();
      }
docs: Construct the HelpWriter object and then use it to generate the help
  file. The name of the generated file is "help-doc.html". The help file
  will get generated if and only if "-helpfile" and "-nohelp" is not used
  on the command line.
  
  @throws DocFileIOException if there is a problem while generating the documentation