Files
consensus/docs/docs/source.config.mjs
T

31 lines
570 B
JavaScript

// source.config.ts
import {
defineConfig,
defineDocs
} from "@hanzo/docs/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: "go"
}
]
]
}
});
var docs = defineDocs({
dir: "content/docs"
});
export {
source_config_default as default,
docs
};