mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2025-11-09 13:39:49 +00:00
feat: add /docs deployed at https://ckan-devstaller.dathere.com
This commit is contained in:
parent
16088fc929
commit
64708d2d68
26 changed files with 1376 additions and 0 deletions
11
docs/mdx-components.tsx
Normal file
11
docs/mdx-components.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { ImageZoom } from "fumadocs-ui/components/image-zoom";
|
||||
import defaultComponents from "fumadocs-ui/mdx";
|
||||
import type { MDXComponents } from "mdx/types";
|
||||
|
||||
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
||||
return {
|
||||
...defaultComponents,
|
||||
img: (props) => <ImageZoom {...(props as any)} />,
|
||||
...components,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue