docs: migrate documentation to Fumadocs

This commit is contained in:
ajnart committed 2026-09-10 20:39:26 +02:00
1 parent 6cca757493
commit 6704ef2c13
254 files changed
+6035 -11002

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",
},
},
});