code: def generate(basename, xml_list):
      '''generate complete MAVLink C implemenation'''
  
      for idx in range(len(xml_list)):
          xml = xml_list[idx]
          xml.xml_idx = idx
          generate_one(basename, xml)
      copy_fixed_headers(basename, xml_list[0]f generate(basename, xml_list):
      '''generate complete MAVLink C implemenation'''
  
      for idx in range(len(xml_list)):
          xml = xml_list[idx]
          xml.xml_idx = idx
          generate_one(basename, xml)
      copy_fixed_headers(basename, xml_list[0])
docs: generate complete MAVLink C implemenation