code: def gen_api_docs():
      """Generates API docs for the TensorFlow Compression library."""
      doc_generator = generate_lib.DocGenerator(
          root_title="TensorFlow Compression",
          py_modules=[("tfc", tfc)],
          base_dir=os.path.dirname(tfc.__file__),
          code_url_prefix=_CODE_URL_PREFIX.value,
          search_hints=_SEARCH_HINTS.value,
          site_path=_SITE_PATH.value,
          callbacks=[public_api.explicit_package_contents_filter],
      )
      doc_generator.build(_OUTPUT_DIR.value)
      print("Output docs to: ", _OUTPUT_DIR.value)
  
file_path: compression/tools/build_api_docs.py
imports: import os
  from absl import app
  from absl import flags
  from tensorflow_docs.api_generator import generate_lib
  from tensorflow_docs.api_generator import public_api
  import tensorflow_compression
label_desc: Use image node_id 1 for calling a global function with example usage: gen_api_docs() without return types