The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: style fixes for api reference docs (#21602)
David Duongdb22fcb58be3
diff --git a/docs/api_reference/_static/css/custom.css b/docs/api_reference/_static/css/custom.cssindex 8e744ead50..4bd681367c 100644--- a/docs/api_reference/_static/css/custom.css+++ b/docs/api_reference/_static/css/custom.css@@ -12,7 +12,8 @@ pre {}}-#my-component-root *, #headlessui-portal-root * {+#my-component-root *,+#headlessui-portal-root * {z-index: 10000;}diff --git a/docs/api_reference/create_api_rst.py b/docs/api_reference/create_api_rst.pyindex e1e976d54e..2c8ab44fc4 100644--- a/docs/api_reference/create_api_rst.py+++ b/docs/api_reference/create_api_rst.py@@ -359,9 +359,14 @@ def main(dirs: Optional[list] = None) -> None:dirs = [dir_for dir_ in os.listdir(ROOT_DIR / "libs")- if dir_ not in ("cli", "partners")+ if dir_ not in ("cli", "partners", "standard-tests")+ ]+ dirs += [+ dir_+ for dir_ in os.listdir(ROOT_DIR / "libs" / "partners")+ if os.path.isdir(dir_)+ and "pyproject.toml" in os.listdir(ROOT_DIR / "libs" / "partners" / dir_)]- dirs += os.listdir(ROOT_DIR / "libs" / "partners")for dir_ in dirs:# Skip any hidden directories# Some of these could be present by mistake in the code basediff --git a/docs/api_reference/themes/scikit-learn-modern/static/css/theme.css b/docs/api_reference/themes/scikit-learn-modern/static/css/theme.cssindex cd52e2b299..91e51e0297 100644--- a/docs/api_reference/themes/scikit-learn-modern/static/css/theme.css+++ b/docs/api_reference/themes/scikit-learn-modern/static/css/theme.css@@ -1398,3 +1398,20 @@ table.sk-sponsor-table td {.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */++/** Custom styles overriding certain values */++div.sk-sidebar-toc-wrapper {+ width: unset;+ overflow-x: auto;+}++div.sk-sidebar-toc-wrapper > [aria-label="rellinks"] {+ position: sticky;+ left: 0;+}++.navbar-nav .dropdown-menu {+ max-height: 80vh;+ overflow-y: auto;+}