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 22, 10:45 UTC
fix(docs): bump FAQ heading levels in LLM markdown output
FAQ files use ## for questions, but they're embedded under a ## Frequently Asked Questions parent. Remap ## to ### so the document hierarchy is correct. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 9, 2026 at 12:53 UTC
3dca8b5a685121ae3c0eb22c981dabf5feddbfdc
1 file changed
+2
-1
docs/app/llms.mdx/[[...slug]]/route.ts
+2
-1
@@ -637,7 +637,8 @@ function toolkitToMarkdown(toolkit: Toolkit, detailedTools?: Tool[], detailedTri
637
638
if (faqMarkdown && faqMarkdown.trim()) {
639
lines.push('', '## Frequently Asked Questions', '');
640
- lines.push(faqMarkdown.trim());
640
+ // Bump ## headings to ### so FAQ questions are children of the FAQ section
641
+ lines.push(faqMarkdown.trim().replace(/^## /gm, '### '));
642
}
643
644
if (tools.length > 0) {