From 2b883c75068bfded3b43bca04c76a2bba49b20fc Mon Sep 17 00:00:00 2001 From: Neural-Link Team Date: Sat, 31 Aug 2019 11:52:40 -0700 Subject: [PATCH] Change the flag to output_dir instead of out dir PiperOrigin-RevId: 266569297 --- neural_structured_learning/tools/build_docs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neural_structured_learning/tools/build_docs.py b/neural_structured_learning/tools/build_docs.py index b4eb3fe..5ba5bff 100644 --- a/neural_structured_learning/tools/build_docs.py +++ b/neural_structured_learning/tools/build_docs.py @@ -25,7 +25,7 @@ ```shell python build_docs.py \ ---out_dir=/tmp/neural_structured_learning_api +--output_dir=/tmp/neural_structured_learning_api ``` Note: @@ -47,7 +47,7 @@ from tensorflow_docs.api_generator import generate_lib from tensorflow_docs.api_generator import public_api -flags.DEFINE_string("out_dir", "/tmp/neural_structured_learning_api", +flags.DEFINE_string("output_dir", "/tmp/neural_structured_learning_api", "Where to output the docs") flags.DEFINE_string( "code_url_prefix", @@ -79,7 +79,7 @@ def main(_): # documented in the location that defines them, instead of every location # that imports them. callbacks=[public_api.local_definitions_filter]) - doc_generator.build(output_dir=FLAGS.out_dir) + doc_generator.build(output_dir=FLAGS.output_dir) if __name__ == "__main__":