DocGenerator() — supabase Function Reference
Architecture documentation for the DocGenerator() function in index.ts from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/generator/index.ts lines 43–80
export default async function DocGenerator({
input,
output,
type,
url,
}: {
input: string
output: string
type: AllowedType
url?: string
}) {
switch (type) {
case 'api':
await ApiGenerator(input, output, url || '')
break
case 'cli':
await CliGenerator(input, output)
break
case 'config':
await ConfigGenerator(input, output)
break
case 'sdk':
await SdkGenerator(input, output)
break
case 'legacy':
await LegacyGenerator(input, output)
break
default:
await console.log('Unrecognized type: ', type)
break
}
return 'Done'
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free