parameters: (input_path, output_path, quiet=False)
docstring: Parse the file for documentation and output it as in an xml format
docstring_summary: Parse the file for documentation and output it as in an xml format
docstring_tokens: Parse the file for documentation and output it as in an xml format
function: def generate_xml(input_path, output_path, quiet=False):
      '''Parse the file for documentation and output it as in an xml format'''
      if not quiet:
          print('--------------Generating XML--------------')
  
      input_path = path.relpath(input_path, os.getcwd())
      conf_path = path.relpath(path.join(path.dirname(__file__), DOXYGEN_CONF))
      output_path = path.relpath(output_path)
  
      if not path.isdir(output_path):
          os.mkdir(output_path)
  
      command = '( cat {conf_path} ; echo "INPUT={input_path}" ; echo "OUTPUT_DIRECTORY={output_path}" ; echo "EXTRACT_ALL={quiet}" ) | doxygen -'.format(
          conf_path=conf_path,
          input_path=input_path,
          output_path=output_path,
          quiet='YES' if quiet else 'NO'
      )
  
      os.system(command)
function_tokens: def generate_xml ( input_path , output_path , quiet = False ) : if not quiet : print ( '--------------Generating XML--------------' ) input_path = path . relpath ( input_path , os . getcwd ( ) ) conf_path = path . relpath ( path . join ( path . dirname ( __file__ ) , DOXYGEN_CONF ) ) output_path = path . relpath ( output_path ) if not path . isdir ( output_path ) : os . mkdir ( output_path ) command = '( cat {conf_path} ; echo "INPUT={input_path}" ; echo "OUTPUT_DIRECTORY={output_path}" ; echo "EXTRACT_ALL={quiet}" ) | doxygen -' . format ( conf_path = conf_path , input_path = input_path , output_path = output_path , quiet = 'YES' if quiet else 'NO' ) os . system ( command )