Skip to content

Commit d450239

Browse files
SimpleML Teamcopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 375660295
1 parent b358e43 commit d450239

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/build_docs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
flags.DEFINE_string("site_path", "/decision_forests/api_docs/python",
3636
"Path prefix in the _toc.yaml")
3737

38+
flags.DEFINE_bool('gen_report', False,
39+
('Generate an API report containing the health of the'
40+
'docstrings of the public API.'))
3841

3942
def main(argv):
4043
if len(argv) > 1:
@@ -47,6 +50,7 @@ def main(argv):
4750
code_url_prefix=FLAGS.code_url_prefix,
4851
search_hints=FLAGS.search_hints,
4952
site_path=FLAGS.site_path,
53+
gen_report=FLAGS.gen_report,
5054
callbacks=[public_api.explicit_package_contents_filter])
5155
doc_generator.build(FLAGS.output_dir)
5256

0 commit comments

Comments
 (0)