File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,16 @@ export const docs = defineDocs({
1616 } ,
1717} ) ;
1818
19+ export const programs = defineDocs ( {
20+ dir : "content/programs" ,
21+ docs : {
22+ schema : frontmatterSchema ,
23+ } ,
24+ meta : {
25+ schema : metaSchema ,
26+ } ,
27+ } ) ;
28+
1929export default defineConfig ( {
2030 mdxOptions : {
2131 // MDX options
Original file line number Diff line number Diff line change 1- import { docs } from "@/.source" ;
1+ import { docs , programs } from "@/.source" ;
22import { loader } from "fumadocs-core/source" ;
33import { icons } from "lucide-react" ;
44import { createElement } from "react" ;
@@ -16,3 +16,8 @@ export const source = loader({
1616 if ( icon in icons ) return createElement ( icons [ icon as keyof typeof icons ] ) ;
1717 } ,
1818} ) ;
19+
20+ export const programsSource = loader ( {
21+ baseUrl : "/programs" ,
22+ source : programs . toFumadocsSource ( ) ,
23+ } ) ;
You can’t perform that action at this time.
0 commit comments