mirror of
https://github.com/prdlk/leetcode.git
synced 2026-08-02 17:31:40 +00:00
30 lines
974 B
TypeScript
30 lines
974 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 { takumiPlugin } from "fumapress/plugins/takumi";
|
||
|
|
import { docs } from "./.source/server";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
content: docs.toFumadocsSource(),
|
||
|
|
site: {
|
||
|
|
name: "Fumapress",
|
||
|
|
},
|
||
|
|
meta: {
|
||
|
|
root() {
|
||
|
|
return (
|
||
|
|
<>
|
||
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
||
|
|
<link
|
||
|
|
href="https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"
|
||
|
|
rel="stylesheet"
|
||
|
|
/>
|
||
|
|
</>
|
||
|
|
);
|
||
|
|
},
|
||
|
|
},
|
||
|
|
})
|
||
|
|
.plugins(flexsearchPlugin(), llmsPlugin(), takumiPlugin())
|
||
|
|
.adapters(fumadocsMdx());
|