code: def main(args):
      if args[1:]:
          raise ValueError("Unrecognized command line args", args[1:])
  
      for obj in suppress_docs_for:
          doc_controls.do_not_generate_docs(obj)
  
      doc_generator = generate_lib.DocGenerator(
          root_title="TensorFlow Model Analysis",
          py_modules=[("tfma", tfma)],
          base_dir=os.path.dirname(tfma.__file__),
          code_url_prefix=FLAGS.code_url_prefix,
          search_hints=FLAGS.search_hints,
          site_path=FLAGS.site_path,
          callbacks=[
              public_api.local_definitions_filter,
              depth_filter,
              suppress_docs,
          ],
      )
  
      return doc_generator.build(output_dir=FLAGS.output_dir)
  
file_path: model-analysis/tensorflow_model_analysis/tools/build_docs.py
imports: import inspect
  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 tensorflow_model_analysis
label_desc: Use image node_id 4 for calling a global function with example usage: main(args) and returns: doc_generator