-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrspress.config.ts
More file actions
35 lines (33 loc) · 1.1 KB
/
rspress.config.ts
File metadata and controls
35 lines (33 loc) · 1.1 KB
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
import path from "node:path";
import url from "node:url";
import { defineConfig } from "@rspress/core";
import { withCallstackPreset } from "@callstack/rspress-preset";
const __filename = url.fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export default withCallstackPreset(
{
context: __dirname,
docs: {
title: "React Native Meta Horizon OS docs",
description:
"Setup, develop, debug, and deploy React Native apps for Meta Quest",
editUrl:
"https://github.com/callstack/react-native-meta-horizon-os/edit/main/docs",
// icon: '/logo.svg',
// logoLight: '/logo-light.svg',
// logoDark: '/logo-dark.svg',
// ogImage: '/og-image.jpg',
rootDir: "src",
rootUrl: "https://oss.callstack.com/react-native-meta-horizon-os",
socials: {
github: "https://github.com/callstack/react-native-meta-horizon-os",
x: "https://x.com/callstackio",
discord: "https://discord.gg/dmDkGFNj9k",
},
},
},
defineConfig({
base: "/react-native-meta-horizon-os/",
outDir: "build",
}),
);