docs: migrate documentation to Fumadocs

This commit is contained in:
ajnart committed 2026-09-10 20:33:21 +02:00
1 parent 6db26a0d99
commit 2356fc56f7
257 files changed
+6024 -11022

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
import { remarkDirectiveAdmonition, remarkMdxMermaid } from "fumadocs-core/mdx-plugins";
import { defineConfig } from "fumadocs-mdx/config";
import remarkDirective from "remark-directive";
export default defineConfig({
mdxOptions: {
remarkPlugins: [
remarkDirective,
[
remarkDirectiveAdmonition,
{
types: {
note: "info",
tip: "idea",
info: "info",
warn: "warning",
warning: "warning",
caution: "warning",
important: "warning",
danger: "error",
error: "error",
success: "success",
},
},
],
remarkMdxMermaid,
],
remarkImageOptions: {
onError: "hide",
},
},
});