Files
cli/docs/lib/source-loader.ts
zeekay e375ec18b3 revert: remove migration-tools symlink - implement in lux-cli directly
Migration logic will be implemented directly in lux migrate commands
using the ChainExporter interface, not as external binaries.
2025-11-23 03:56:51 -08:00

26 lines
536 B
TypeScript

import { loader } from "fumadocs-core/source"
import { createMDXSource } from "fumadocs-mdx"
import { structure } from "./static-source"
export function getSource() {
return loader({
baseUrl: "/docs",
source: createMDXSource(structure, {
schema: {
frontmatter: {
title: {
type: "string",
required: true,
},
description: {
type: "string",
},
icon: {
type: "string",
},
},
},
}),
})
}