Skip to content

The agent engineering platform.

docs: fix api build (#17898)

Bagatur762f49162a7b
diff --git a/docs/api_reference/create_api_rst.py b/docs/api_reference/create_api_rst.py
index 9910739fbc..88e4538214 100644
--- a/docs/api_reference/create_api_rst.py
+++ b/docs/api_reference/create_api_rst.py
@@ -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