mirror of
https://github.com/dathere/ckanaction.git
synced 2025-12-26 12:57:00 +00:00
build: update dependencies and fumadocs
This commit is contained in:
parent
100165ec29
commit
fd5ebf4af0
144 changed files with 301 additions and 431 deletions
|
|
@ -1,13 +1,12 @@
|
|||
import defaultMdxComponents from 'fumadocs-ui/mdx';
|
||||
import { APIPage } from 'fumadocs-openapi/ui';
|
||||
import { openapi } from '@/lib/openapi';
|
||||
import type { MDXComponents } from 'mdx/types';
|
||||
import defaultComponents from "fumadocs-ui/mdx";
|
||||
import type { MDXComponents } from "mdx/types";
|
||||
import { APIPage } from "@/components/api-page";
|
||||
|
||||
// use this function to get MDX components, you will need it for rendering MDX
|
||||
// make sure you can use it in MDX files
|
||||
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
||||
return {
|
||||
...defaultMdxComponents,
|
||||
APIPage: (props) => <APIPage {...openapi.getAPIPageProps(props)} />,
|
||||
...defaultComponents,
|
||||
APIPage,
|
||||
...components,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue