-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrspress.config.ts
More file actions
52 lines (50 loc) · 1.05 KB
/
rspress.config.ts
File metadata and controls
52 lines (50 loc) · 1.05 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import * as path from 'node:path';
import { defineConfig } from 'rspress/config';
import ghpages from 'rspress-plugin-gh-pages';
export default defineConfig({
root: path.join(__dirname, 'docs'),
title: 'Ask Design',
icon: '/rspress-icon.png',
// logo: {
// light: '/rspress-light-logo.png',
// dark: '/rspress-dark-logo.png',
// },
base: '/react-native.ask-desigin.docs',
lang: 'cn',
themeConfig: {
socialLinks: [
{
icon: 'github',
mode: 'link',
content: 'https://github.com/web-infra-dev/rspress',
},
],
locales: [
{
lang: 'cn',
label: '简体中文',
},
{
lang: 'en',
label: 'English',
},
{
lang: 'tw',
label: '繁體中文',
}
]
// nav: [
// {
// text: 'Start',
// link: '/guide/index',
// position: 'left',
// }
// ]
},
plugins: [
ghpages({
repo: 'https://github.com/minjie-lock/react-native.ask-desigin.docs',
branch: 'main',
}),
]
});