Skip to content

Commit

Permalink
Change the flag to output_dir instead of out dir
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 266569297
  • Loading branch information
Neural-Link Team authored and tensorflow-copybara committed Aug 31, 2019
1 parent c382638 commit 2b883c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neural_structured_learning/tools/build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
```shell
python build_docs.py \
--out_dir=/tmp/neural_structured_learning_api
--output_dir=/tmp/neural_structured_learning_api
```
Note:
Expand All @@ -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",
Expand Down Expand Up @@ -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__":
Expand Down

0 comments on commit 2b883c7

Please sign in to comment.