Files
lamport/docs/.docs/source.config.mjs
zeekay e310e7fb68 feat(docs): add Next.js documentation site with GitHub Pages deployment
- Set up fumadocs-ui for docs layout and navigation
- Implement custom source loader using gray-matter
- Configure react-markdown with remark-gfm for markdown rendering
- Add GitHub Actions workflow for automatic deployment
- Document threshold Lamport MPC implementation with code examples
- Include API reference, security model, gas costs, and integration guide

Build: 12 static pages generated successfully
2025-12-26 06:47:22 -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
};