Home / Function/ generateMainLlmsTxt() — supabase Function Reference

generateMainLlmsTxt() — supabase Function Reference

Architecture documentation for the generateMainLlmsTxt() function in llms.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  70ac6f39_f1ab_0adb_2314_4400baf55e0c["generateMainLlmsTxt()"]
  c5f044c8_b7ee_0a3c_6bba_ce6f95fe6ff2["generateLlmsTxt()"]
  c5f044c8_b7ee_0a3c_6bba_ce6f95fe6ff2 -->|calls| 70ac6f39_f1ab_0adb_2314_4400baf55e0c
  f4a674ee_3d3b_5715_e9f6_075c27dcc441["toLink()"]
  70ac6f39_f1ab_0adb_2314_4400baf55e0c -->|calls| f4a674ee_3d3b_5715_e9f6_075c27dcc441
  style 70ac6f39_f1ab_0adb_2314_4400baf55e0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/llms.ts lines 117–123

async function generateMainLlmsTxt() {
  const sourceLinks = SOURCES.filter((source) => source.enabled !== false)
    .map((source) => `- ${toLink(source)}`)
    .join('\n')
  const fullText = `# ${metadataTitle}\n\n${sourceLinks}`
  fs.writeFile('public/llms.txt', fullText)
}

Subdomains

Calls

Called By

Frequently Asked Questions

What does generateMainLlmsTxt() do?
generateMainLlmsTxt() is a function in the supabase codebase.
What does generateMainLlmsTxt() call?
generateMainLlmsTxt() calls 1 function(s): toLink.
What calls generateMainLlmsTxt()?
generateMainLlmsTxt() is called by 1 function(s): generateLlmsTxt.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free