code: public void convertPackage(PackageDoc pd, DocPath outputdir) {
          if (pd == null) {
              return;
          }
          for (ClassDoc cd : pd.allClasses()) {
              // If -nodeprecated option is set and the class is marked as deprecated,
              // do not convert the package files to HTML. We do not check for
              // containing package deprecation since it is already check in
              // the calling method above.
              if (!(configuration.nodeprecated && utils.isDeprecated(cd)))
                  convertClass(cd, outputdir);
          }
      }
docs: Convert the Classes in the given Package to an HTML.
  
  @param pd the Package to convert.
  @param outputdir the name of the directory to output to.