mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
wip
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
import { docs, meta, changelog as _changelog } from "@/.source";
|
||||
import { createMDXSource } from "fumadocs-mdx";
|
||||
import { loader } from "fumadocs-core/source";
|
||||
|
||||
import { attachFile, createOpenAPI } from "fumadocs-openapi/server";
|
||||
export const source = loader({
|
||||
baseUrl: "/docs",
|
||||
source: createMDXSource(docs, meta),
|
||||
pageTree: {
|
||||
attachFile,
|
||||
},
|
||||
});
|
||||
|
||||
export const changelog = loader({
|
||||
baseUrl: "/changelog",
|
||||
source: createMDXSource(_changelog, meta),
|
||||
});
|
||||
|
||||
export const openapi = createOpenAPI();
|
||||
|
||||
Reference in New Issue
Block a user