-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrspress.config.ts
49 lines (48 loc) · 1.57 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
42
43
44
45
46
47
48
49
import * as path from 'path';
import {defineConfig} from 'rspress/config';
export default defineConfig({
root: path.join(__dirname, 'docs'),
base: '/scaleph-repress-site/',
title: 'Scaleph',
description: '开放数据平台,具备 Flink、SeaTunnel 和 Doris 管理能力',
icon: '/scaleph-icon.png',
logo: '/scaleph-icon.png',
lang: 'zh',
multiVersion: {
default: 'dev',
versions: ['dev', '2.0.5', '2.0.4', '2.0.3', '2.0.2'],
},
themeConfig: {
lastUpdated: true,
socialLinks: [
{icon: 'github', mode: 'link', content: 'https://github.com/flowerfine/scaleph'},
{icon: 'wechat', mode: 'img', content: '/wechat.jpg'},
],
locales: [
{
lang: 'zh',
label: '简体中文',
editLink: {
docRepoBaseUrl:
'https://github.com/flowerfine/scaleph-repress-site/tree/main/docs',
text: '📝 在 GitHub 上编辑此页',
},
prevPageText: '上一篇',
nextPageText: '下一篇',
outlineTitle: '目录',
},
{
lang: 'en',
label: 'English',
editLink: {
docRepoBaseUrl:
'https://github.com/flowerfine/scaleph-repress-site/tree/main/docs',
text: '📝 Edit this page on GitHub',
},
},
],
},
markdown: {
checkDeadLinks: false
}
});