code: def do_gen(argdict):
      '''Generate the whole site.'''
      site = make_site_obj(argdict)
      try:
          st = time.time()
          site.generate()
          et = time.time()
          print "Generated Site in %f seconds."% (et-st)
      except ValueError as e: # pragma: no cover
          print "Cannot generate. You are not within a simplystatic \
  tree and you didn't specify a directory.f do_gen(argdict):
      '''Generate the whole site.'''
      site = make_site_obj(argdict)
      try:
          st = time.time()
          site.generate()
          et = time.time()
          print "Generated Site in %f seconds."% (et-st)
      except ValueError as e: # pragma: no cover
          print "Cannot generate. You are not within a simplystatic \
  tree and you didn't specify a directory."
docs: Generate the whole site.