code: def main(args):
      if args[1:]:
          raise ValueError("Unrecognized command line args", args[1:])
  
      suppress_docs_for = []
      for name in [
          "version",
          "goo" + "gle",
          "metadata_store",
          "pywrap",
      ]:
          submodule = getattr(mlmd, name, None)
          if submodule is not None:
              suppress_docs_for.append(submodule)
  
      for obj in suppress_docs_for:
          doc_controls.do_not_generate_docs(obj)
  
      doc_generator = generate_lib.DocGenerator(
          root_title="ML Metadata",
          py_modules=[("mlmd", mlmd)],
          base_dir=os.path.dirname(mlmd.__file__),
          code_url_prefix=FLAGS.code_url_prefix,
          search_hints=FLAGS.search_hints,
          site_path=FLAGS.site_path,
          private_map={},
          callbacks=[
              # This filters out objects not defined in the current module or its
              # sub-modules.
              public_api.local_definitions_filter,
              ignore_proto_method,
              ignore_attrs_method,
          ],
      )
  
      doc_generator.build(output_dir=FLAGS.output_dir)
  
file_path: ml-metadata/ml_metadata/tools/documentation/build_docs.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import app
  from absl import flags
  from tensorflow_docs.api_generator import doc_controls
  from tensorflow_docs.api_generator import generate_lib
  from tensorflow_docs.api_generator import public_api
  import ml_metadata
  from google.protobuf.reflection import GeneratedProtocolMessageType
label_desc: Use image node_id 3 for calling a global function with example usage: main(args) without return types