File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1313 "dependencies" : {
1414 "class-variance-authority" : " ^0.7.1" ,
1515 "clsx" : " ^2.1.1" ,
16- "fumadocs-core" : " 16.4.6" ,
17- "fumadocs-mdx" : " 14.2.4" ,
16+ "fumadocs-core" : " ^ 16.4.6" ,
17+ "fumadocs-mdx" : " ^ 14.2.4" ,
1818 "fumadocs-typescript" : " ^5.0.1" ,
19- "fumadocs-ui" : " 16.4.6" ,
19+ "fumadocs-ui" : " ^ 16.4.6" ,
2020 "lucide-react" : " ^0.548.0" ,
2121 "next" : " catalog:next" ,
2222 "react" : " catalog:react" ,
Original file line number Diff line number Diff line change 1- import { docs } from "@/.source "
1+ import { docs } from "fumadocs-mdx:collections/server "
22import { type InferPageType , loader } from "fumadocs-core/source"
33import { lucideIconsPlugin } from "fumadocs-core/source/lucide-icons"
44
@@ -19,7 +19,6 @@ export function getPageImage(page: InferPageType<typeof source>) {
1919
2020export async function getLLMText ( page : InferPageType < typeof source > ) {
2121 const processed = await page . data . getText ( "processed" )
22-
2322 return `# ${ page . data . title }
2423
2524${ processed } `
Original file line number Diff line number Diff line change 1717 "incremental" : true ,
1818 "paths" : {
1919 "@/*" : [" ./src/*" ],
20- "@/.source " : [" .source" ]
20+ "fumadocs-mdx:collections/* " : [" .source/* " ]
2121 },
2222 "plugins" : [
2323 {
You can’t perform that action at this time.
0 commit comments