Files
zeekay dc39f33937 feat: initial docs template
Reusable documentation template for Lux Network projects.

Features:
- Fumadocs UI with Next.js 15
- Dark mode with system preference
- Pre-configured social links (Lux, Discord, X, Warpcast)
- SITE_CONFIG and DOCS_CONFIG for easy customization
- @luxfi/logo integration
- Tailwind CSS with typography plugin

Usage:
1. Copy template to new directory
2. Edit SITE_CONFIG in app/layout.tsx
3. Edit DOCS_CONFIG in app/docs/layout.tsx
4. Add MDX content in content/docs/
5. pnpm dev
2025-12-26 16:21:53 -08:00

31 lines
571 B
JavaScript

// source.config.ts
import {
defineConfig,
defineDocs
} from "@hanzo/mdx/config";
import rehypePrettyCode from "rehype-pretty-code";
var source_config_default = defineConfig({
mdxOptions: {
rehypePlugins: [
[
rehypePrettyCode,
{
theme: {
dark: "github-dark-dimmed",
light: "github-light"
},
keepBackground: false,
defaultLang: "solidity"
}
]
]
}
});
var docs = defineDocs({
dir: "content/docs"
});
export {
source_config_default as default,
docs
};