diff --git a/g3doc/build_docs.py b/g3doc/build_docs.py index 9d30a7f..168a68e 100644 --- a/g3doc/build_docs.py +++ b/g3doc/build_docs.py @@ -34,6 +34,9 @@ flags.DEFINE_string('site_path', 'responsible_ai/privacy/api_docs/python/', 'The location of the doc setin the site.') flags.DEFINE_bool('search_hints', True, 'Include metadata search hints in the generated files.') +flags.DEFINE_bool('gen_report', False, + ('Generate an API report containing the health of the' + 'docstrings of the public API.')) FLAGS = flags.FLAGS @@ -53,6 +56,7 @@ def gen_api_docs(): site_path=FLAGS.site_path, search_hints=FLAGS.search_hints, private_map={}, + gen_report=FLAGS.gen_report, # This callback cleans up a lot of aliases caused by internal imports. callbacks=[public_api.explicit_package_contents_filter])