feat(docs): reorganize documentation structure and update navigation links

This commit is contained in:
HouYunFei
2026-06-01 17:50:53 +08:00
parent 5f59b4bed3
commit b16251c1ed
65 changed files with 2491 additions and 281 deletions
+11
View File
@@ -0,0 +1,11 @@
import { source } from '@/lib/source';
import { llms } from 'fumadocs-core/source';
import { readFile } from 'node:fs/promises';
import { join } from 'node:path';
export const revalidate = false;
export async function GET() {
const docsIndex = await readFile(join(process.cwd(), 'index.md'), 'utf8');
return new Response([docsIndex, llms(source).index()].join('\n\n'));
}