mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-29 10:26:49 -05:00
wip
This commit is contained in:
@@ -14,6 +14,7 @@ import { ForkButton } from "@/components/fork-button";
|
||||
import Link from "next/link";
|
||||
import defaultMdxComponents from "fumadocs-ui/mdx";
|
||||
import { AutoTypeTable } from "fumadocs-typescript/ui";
|
||||
import { openapi } from '@/app/source';
|
||||
|
||||
export default async function Page({
|
||||
params,
|
||||
@@ -73,6 +74,7 @@ export default async function Page({
|
||||
Features,
|
||||
ForkButton,
|
||||
DatabaseTable,
|
||||
APIPage: openapi.APIPage,
|
||||
iframe: (props) => (
|
||||
<iframe {...props} className="w-full h-[500px]" />
|
||||
),
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { docs, meta, changelog as _changelog } from "@/.source";
|
||||
import { createMDXSource } from "fumadocs-mdx";
|
||||
import { loader } from "fumadocs-core/source";
|
||||
import { createOpenAPI } from "fumadocs-openapi/server";
|
||||
|
||||
export const source = loader({
|
||||
baseUrl: "/docs",
|
||||
@@ -11,3 +12,5 @@ export const changelog = loader({
|
||||
baseUrl: "/changelog",
|
||||
source: createMDXSource(_changelog, meta),
|
||||
});
|
||||
|
||||
export const openapi = createOpenAPI({});
|
||||
|
||||
Reference in New Issue
Block a user