Files
leetcode/Docs/press.config.tsx
T

30 lines
740 B
TypeScript
Raw Normal View History

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());