mirror of
https://github.com/prdlk/leetcode.git
synced 2026-08-02 17:31:40 +00:00
init(Docs): add docs site based on Fumapress and Fumadocs
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineDocs } from "fumadocs-mdx/config";
|
||||
import { metaSchema, pageSchema } from "fumapress/adapters/mdx/schema";
|
||||
|
||||
export const docs = defineDocs({
|
||||
dir: "content",
|
||||
docs: {
|
||||
async: true,
|
||||
schema: pageSchema,
|
||||
postprocess: {
|
||||
includeProcessedMarkdown: true,
|
||||
},
|
||||
},
|
||||
meta: {
|
||||
schema: metaSchema,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user