-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspress.config.ts
41 lines (40 loc) · 1.03 KB
/
rspress.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import path from "node:path";
import { pluginApiDocgen } from "@rspress/plugin-api-docgen";
import { pluginLastUpdated } from "@rspress/plugin-last-updated";
import { pluginPreview } from "@rspress/plugin-preview";
import { defineConfig } from "rspress/config";
export default defineConfig({
ssg: false,
globalStyles: path.join(__dirname, "styles", "index.css"),
root: path.join(__dirname, "docs"),
route: {
exclude: ["**/_lib/*.*"]
},
title: "WindCraft Starter Kit",
description: "React Template Components",
icon: "/windcraft-logo.webp",
logo: {
light: "/windcraft-logo-text.webp",
dark: "/windcraft-logo-text.webp"
},
themeConfig: {
darkMode: false,
socialLinks: [
{
icon: "github",
mode: "link",
content: "https://github.com/tinytek-io/windcraft-ui"
}
]
},
plugins: [
pluginLastUpdated(),
pluginPreview(),
pluginApiDocgen({
entries: {
button: "./ui/components/Button.tsx"
},
apiParseTool: "react-docgen-typescript"
})
]
});