init(Docs): setup docs site with Fumapress and Waku

This commit is contained in:
Prad Nukala
2026-07-12 12:14:51 -04:00
parent faa95b2e8b
commit 8f950111b5
12 changed files with 1704 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
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());