Skip to content

The agent engineering platform.

sort api classes (#9710)

Bagatur22b6549a34b6
diff --git a/docs/api_reference/create_api_rst.py b/docs/api_reference/create_api_rst.py
index 23fa327af6..ee32f0d4cf 100644
--- a/docs/api_reference/create_api_rst.py
+++ b/docs/api_reference/create_api_rst.py
@@ -228,7 +228,7 @@ Classes
:toctree: {module}
"""
- for class_ in classes:
+ for class_ in sorted(classes, key=lambda c: c["qualified_name"]):
if not class_["is_public"]:
continue