Home / Function/ getReferenceSections() — supabase Function Reference

getReferenceSections() — supabase Function Reference

Architecture documentation for the getReferenceSections() function in Reference.generated.singleton.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  307ee6f3_ce2c_b3ce_886c_336fbe1c32eb["getReferenceSections()"]
  da36048a_1fc2_ba06_c25a_704fa88fb95b["ReferenceNavigation()"]
  da36048a_1fc2_ba06_c25a_704fa88fb95b -->|calls| 307ee6f3_ce2c_b3ce_886c_336fbe1c32eb
  style 307ee6f3_ce2c_b3ce_886c_336fbe1c32eb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.singleton.ts lines 103–116

export async function getReferenceSections(sdkId: string, version: string) {
  const key = `${sdkId}.${version}`
  if (!referenceSections.has(key)) {
    const data = await readFile(
      join(process.cwd(), 'features/docs', `./generated/${sdkId}.${version}.sections.json`),
      'utf-8'
    )

    referenceSections.set(key, JSON.parse(data))
  }

  const result = referenceSections.get(key)
  return result
}

Subdomains

Frequently Asked Questions

What does getReferenceSections() do?
getReferenceSections() is a function in the supabase codebase.
What calls getReferenceSections()?
getReferenceSections() is called by 1 function(s): ReferenceNavigation.

Analyze Your Own Codebase

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

Try Supermodel Free