Files
dex/docs/source.config.ts
T
zeekay b43a441515 chore(docs): migrate from fumadocs to @hanzo/mdx and @hanzo/ui
- Replace fumadocs-ui with @hanzo/ui/docs/*
- Replace fumadocs-mdx with @hanzo/mdx
- Update import paths and CLI commands
2025-12-17 14:31:51 -08:00

28 lines
492 B
TypeScript

import {
defineConfig,
defineDocs,
} from "@hanzo/mdx/config"
import rehypePrettyCode from "rehype-pretty-code"
export default defineConfig({
mdxOptions: {
rehypePlugins: [
[
rehypePrettyCode,
{
theme: {
dark: "github-dark-dimmed",
light: "github-light",
},
keepBackground: false,
defaultLang: "go",
},
],
],
},
})
export const docs = defineDocs({
dir: "content/docs",
})