chore(deps): upgrade to nextjs 16 (#2203)

* chore(deps): upgrade to nextjs 16

* upgraded fumadocs

* ensure vercel uses bun

* fix build

* fix bui;d

* remove redundant vercel.json
This commit is contained in:
Waleed
2025-12-04 17:55:37 -08:00
committed by GitHub
parent 1642ed754b
commit dcbdcb43aa
20 changed files with 260 additions and 148 deletions

View File

@@ -2,9 +2,8 @@ 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})
${page.data.description || ''}
${page.data.content || ''}`
${processed}`
}

View File

@@ -1,5 +1,5 @@
import { loader } from 'fumadocs-core/source'
import { docs } from '@/.source'
import { docs } from '@/.source/server'
import { i18n } from './i18n'
export const source = loader({