Skip to content

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

tiny fix

Sushmithamallesh4d562487b5a4
diff --git a/fern/scripts/build-llms-txt.ts b/fern/scripts/build-llms-txt.ts
index 7b35d1f79..718cf90c0 100644
--- a/fern/scripts/build-llms-txt.ts
+++ b/fern/scripts/build-llms-txt.ts
@@ -129,7 +129,7 @@ function processContentItems(
entries.push(entry);
}
- if (item.section && item.contents) {
+ if (item.contents) {
const nestedSlug = item.slug
? (parentSlug ? `${parentSlug}/${item.slug}` : item.slug)
: parentSlug;
@@ -139,7 +139,7 @@ function processContentItems(
item.contents,
tabSlug,
nestedSlug,
- item.section
+ item.section ?? parentSection
);
entries.push(...nestedEntries);
}