build: update dependencies and fumadocs

This commit is contained in:
rzmk 2025-12-02 21:16:06 -05:00
parent 100165ec29
commit fd5ebf4af0
144 changed files with 301 additions and 431 deletions

10
docs/lib/get-llm-text.ts Normal file
View file

@ -0,0 +1,10 @@
import type { InferPageType } from "fumadocs-core/source";
import type { source } from "@/lib/source";
export async function getLLMText(page: InferPageType<typeof source>) {
const processed = await page.data.getText("processed");
return `# ${page.data.title} (${page.url})
${processed}`;
}