code: def generate_doxygen_xml(app):
      build_dir = ".build"
      if not os.path.exists(build_dir):
          os.mkdir(build_dir)
  
      try:
          subprocess.call(["doxygen", "--version"])
          retcode = subprocess.call(["doxygen"])
          if retcode < 0:
              sys.stderr.write(
                  "doxygen error code: {}\n".format(-retcode)
              )
      except OSError as e:
          sys.stderr.write("doxygen execution failed: {}\n".format(e))
  
imports: import sys
  import os
  import shlex
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: generate_doxygen_xml(app) without return types