poorvirohidekar commented on code in PR #40588:
URL: https://github.com/apache/airflow/pull/40588#discussion_r1665101134


##########
docs/build_docs.py:
##########
@@ -450,6 +450,14 @@ def main():
         for pkg in sorted(available_packages):
             console.print(f" - {pkg}")
 
+    for package in available_packages:
+        api_dir = os.path.join(DOCS_DIR, package, "_api")
+        if os.path.exists(api_dir):

Review Comment:
   I have added this check to see if the `_api `folder is actually empty. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to