Change the limit to 2000 for 1.x api.
PiperOrigin-RevId: 307647773 Change-Id: I344cd2d5a5154018a86e5931756882f6b3802cdd
This commit is contained in:
parent
37d16f759a
commit
65125bf0d0
|
@ -227,7 +227,7 @@ def build_docs(output_dir, code_url_prefix, search_hints=True):
|
||||||
|
|
||||||
out_path = pathlib.Path(output_dir)
|
out_path = pathlib.Path(output_dir)
|
||||||
num_files = len(list(out_path.rglob("*")))
|
num_files = len(list(out_path.rglob("*")))
|
||||||
if num_files < 2500:
|
if num_files < 2000:
|
||||||
raise ValueError("The TensorFlow api should be more than 2500 files"
|
raise ValueError("The TensorFlow api should be more than 2500 files"
|
||||||
"(found {}).".format(num_files))
|
"(found {}).".format(num_files))
|
||||||
expected_path_contents = {
|
expected_path_contents = {
|
||||||
|
|
Loading…
Reference in New Issue