parameters: (folder)
docstring: Run the doxygen make command in the designated folder.
docstring_summary: Run the doxygen make command in the designated folder.
docstring_tokens: Run the doxygen make command in the designated folder .
function: def run_doxygen(folder):
      """Run the doxygen make command in the designated folder."""
      try:
          #retcode = subprocess.call("cd %s; make doc" % folder, shell=True)
          retcode = subprocess.call("rm -rf _build/html/doxygen", shell=True)
          retcode = subprocess.call("mkdir -p _build/html", shell=True)
          retcode = subprocess.call("cp -rf doxygen/html _build/html/doxygen", shell=True)
          if retcode < 0:
              sys.stderr.write("doxygen terminated by signal %s" % (-retcode))
      except OSError as e:
          sys.stderr.write("doxygen execution failed: %s" % e)
function_tokens: def run_doxygen ( folder ) : try : #retcode = subprocess.call("cd %s; make doc" % folder, shell=True) retcode = subprocess . call ( "rm -rf _build/html/doxygen" , shell = True ) retcode = subprocess . call ( "mkdir -p _build/html" , shell = True ) retcode = subprocess . call ( "cp -rf doxygen/html _build/html/doxygen" , shell = True ) if retcode < 0 : sys . stderr . write ( "doxygen terminated by signal %s" % ( - retcode ) ) except OSError as e : sys . stderr . write ( "doxygen execution failed: %s" % e )