docs: fix api build (#17898)

This commit is contained in:
Bagatur 2024-02-21 16:34:37 -08:00 committed by GitHub
parent 9e54c227f1
commit 762f49162a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,7 +351,7 @@ def main() -> None:
# Skip any hidden directories
# Some of these could be present by mistake in the code base
# e.g., .pytest_cache from running tests from the wrong location.
if not dir.startswith("."):
if dir.startswith("."):
print("Skipping dir:", dir)
continue