@devries-cameron20 / composio Mirror · read-only / commits / bf3a51019
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 23, 00:30 UTC

Update tool documentation management and dependencies

- Commented out all tool entries in docs.yml except for the introduction. - Modified the manage-tool-docs.py script to reflect the change, now only leaving the introduction uncommented. - Updated turbo.json to include "api:pull" and "sdkdocs" in the dev dependencies.

balyan.sid@gmail.com committed Jun 16, 2025 at 03:26 UTC bf3a510193a0893c97e46549679c68b71c4aa6a8
3 files changed +15 -15
fern/docs.yml
+10 -10
@@ -254,16 +254,16 @@ navigation:
254 contents:
255 - page: Introduction
256 path: tools/introduction.mdx
257 - - page: Ably
258 - path: tools/ably.mdx
259 - - page: Accelo
260 - path: tools/accelo.mdx
261 - - page: Acculynx
262 - path: tools/acculynx.mdx
263 - - page: Active Campaign
264 - path: tools/active_campaign.mdx
265 - - page: Adobe
266 - path: tools/adobe.mdx
257 + # - page: Ably
258 + # path: tools/ably.mdx
259 + # - page: Accelo
260 + # path: tools/accelo.mdx
261 + # - page: Acculynx
262 + # path: tools/acculynx.mdx
263 + # - page: Active Campaign
264 + # path: tools/active_campaign.mdx
265 + # - page: Adobe
266 + # path: tools/adobe.mdx
267 # - page: Aero Workflow
268 # path: tools/aero_workflow.mdx
269 # - page: Affinity
fern/scripts/manage-tool-docs.py
+4 -4
@@ -1,6 +1,6 @@
1 #!/usr/bin/env python3
2 """
3 -Script to comment/uncomment tool docs in docs.yml, leaving the introduction and first 5 docs.
3 +Script to comment/uncomment tool docs in docs.yml, leaving only the introduction.
4 Uses ruamel.yaml to properly parse and modify the YAML structure.
5 """
6
@@ -92,7 +92,7 @@ def process_tool_docs(file_path: Path, action: str) -> None:
92 yaml.dump(data, stream)
93 content = stream.getvalue()
94
95 - # Now manually comment out tools after the 6th one
95 + # Now manually comment out tools after the 1st one (introduction)
96 lines = content.split('\n')
97 new_lines = []
98 in_tools_section = False
@@ -117,7 +117,7 @@ def process_tool_docs(file_path: Path, action: str) -> None:
117 # Count and process tool entries
118 if in_tools_section and '- page:' in line and line.strip().startswith('- page:'):
119 tool_count += 1
120 - if tool_count > 6: # Skip introduction + first 5 tools
120 + if tool_count > 1: # Skip only the introduction
121 # Comment out this line and the next one (path line)
122 indent = len(line) - len(line.lstrip())
123 new_lines.append(' ' * indent + '# ' + line.lstrip())
@@ -144,7 +144,7 @@ def process_tool_docs(file_path: Path, action: str) -> None:
144
145 print(f"Successfully {action}ed tool docs in {file_path}")
146 if action == 'comment':
147 - print("Left uncommented: Introduction + first 5 tool docs")
147 + print("Left uncommented: Introduction only")
148 else:
149 print("All tool docs are now uncommented")
150
fern/turbo.json
+1 -1
@@ -9,7 +9,7 @@
9 },
10
11 "dev": {
12 - "dependsOn": ["tools:comment", "snippets:build"],
12 + "dependsOn": ["api:pull", "sdkdocs", "tools:comment", "snippets:build"],
13 "persistent": true,
14 "cache": false
15 },