Initialize documentation module with Fumadocs integration and basic setup
This commit is contained in:
10
documentation/src/app/llms-full.txt/route.ts
Normal file
10
documentation/src/app/llms-full.txt/route.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { getLLMText, source } from '@/lib/source';
|
||||
|
||||
export const revalidate = false;
|
||||
|
||||
export async function GET() {
|
||||
const scan = source.getPages().map(getLLMText);
|
||||
const scanned = await Promise.all(scan);
|
||||
|
||||
return new Response(scanned.join('\n\n'));
|
||||
}
|
||||
Reference in New Issue
Block a user