docs: Improve docs with core-concept and guides

This commit is contained in:
Dries Augustyns
2025-12-28 10:46:46 +01:00
parent 862babb8f5
commit 2ddfceca36
46 changed files with 652 additions and 1195 deletions
+1
View File
@@ -0,0 +1 @@
export { twMerge as cn } from 'tailwind-merge';
+10
View File
@@ -0,0 +1,10 @@
import {source} from '@/lib/source';
import type {InferPageType} from 'fumadocs-core/source';
export async function getLLMText(page: InferPageType<typeof source>) {
const processed = await page.data.getText('processed');
return `# ${page.data.title} (${page.url})
${processed}`;
}