code: def main(argv):
      if argv[1:]:
          raise ValueError(
              "Unrecognized arguments: {}".format(argv[1:])
          )
  
      if FLAGS.code_url_prefix:
          code_url_prefix = FLAGS.code_url_prefix
      elif FLAGS.git_branch:
          code_url_prefix = CODE_PREFIX_TEMPLATE.format(
              git_branch=FLAGS.git_branch
          )
      else:
          code_url_prefix = CODE_PREFIX_TEMPLATE.format(
              git_branch="master"
          )
  
      doc_generator = generate_lib.DocGenerator(
          root_title=PROJECT_FULL_NAME,
          py_modules=[(PROJECT_SHORT_NAME, tfa)],
          code_url_prefix=code_url_prefix,
          private_map={
              "tfa": ["__version__", "utils", "version"],
              "tfa.options": ["warn_fallback"],
          },
          # These callbacks usually clean up a lot of aliases caused by internal imports.
          callbacks=[
              public_api.local_definitions_filter,
              public_api.explicit_package_contents_filter,
          ],
          search_hints=FLAGS.search_hints,
          site_path=FLAGS.site_path,
      )
  
      doc_generator.build(FLAGS.output_dir)
  
      print("Output docs to: ", FLAGS.output_dir)
  
imports: from absl import app
  from absl import flags
  import tensorflow_addons
  from tensorflow_docs.api_generator import generate_lib
  from tensorflow_docs.api_generator import public_api
label_desc: Use image node_id 1 for calling a global function with example usage: main(argv) without return types