mirror of
https://github.com/prdlk/leetcode.git
synced 2026-08-02 17:31:40 +00:00
30 lines
740 B
TypeScript
30 lines
740 B
TypeScript
import { defineConfig } from "fumapress";
|
|
import { fumadocsMdx } from "fumapress/adapters/mdx";
|
|
import { flexsearchPlugin } from "fumapress/plugins/flexsearch";
|
|
import { llmsPlugin } from "fumapress/plugins/llms.txt";
|
|
import { docs } from "./.source/server";
|
|
|
|
export default defineConfig({
|
|
site: {
|
|
name: "Docs",
|
|
baseUrl: import.meta.env.DEV
|
|
? "http://localhost:3000"
|
|
: "https://docs.example.com",
|
|
git: {
|
|
user: "your-github-user",
|
|
branch: "main",
|
|
repo: "docs",
|
|
},
|
|
},
|
|
content: {
|
|
docs: docs.toFumadocsSource(),
|
|
},
|
|
meta: {
|
|
root() {
|
|
return <meta property="og:type" content="website" />;
|
|
},
|
|
},
|
|
})
|
|
.plugins(flexsearchPlugin(), llmsPlugin())
|
|
.adapters(fumadocsMdx());
|