docs: migrate documentation to Fumadocs
This commit is contained in:
1 parent
6cca757493
commit
6704ef2c13
254 files changed
+6035
-11002
No files matched your search
@@ -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",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user