From 762f49162a7b478f6948f3d9b677970885af286c Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:34:37 -0800 Subject: [PATCH] docs: fix api build (#17898) --- docs/api_reference/create_api_rst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api_reference/create_api_rst.py b/docs/api_reference/create_api_rst.py index 9910739fbc2..88e45382144 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