code: def main():
      """Main function"""
      print("Generating PythonAPI documentation...")
      script_path = os.path.dirname(os.path.abspath(__file__))
      doc_gen_snipets.main()
      docs = Documentation(script_path)
      with open(
          os.path.join(script_path, "../../Docs/python_api.md"), "w"
      ) as md_file:
          md_file.write(docs.gen_markdown())
      print("Done!")
  
imports: import os
  import yaml
  import re
  import doc_gen_snipets
label_desc: Use image node_id 29 for calling a global function with example usage: main() without return types