-
Notifications
You must be signed in to change notification settings - Fork 1
/
rspress.config.ts
43 lines (42 loc) · 1.09 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
import * as path from 'path';
import { defineConfig } from 'rspress/config';
export default defineConfig({
root: path.join(__dirname, 'docs'),
lang: 'zh',
title: 'Rin',
description: '️Rin 是一个基于 Cloudflare Pages + Workers + D1 + R2 全家桶的博客,无需服务器无需备案,只需要一个解析到 Cloudflare 的域名即可部署。 ',
icon: '/rin-icon.png',
locales: [
{
lang: 'en',
// 导航栏切换语言的标签
label: 'English',
title: 'Rin',
description: 'Dynamic blog based on Cloudflare',
},
{
lang: 'zh',
// 导航栏切换语言的标签
label: '简体中文',
title: 'Rin',
description: '基于 Cloudflare 的动态博客系统',
},
],
themeConfig: {
socialLinks: [
{ icon: 'github', mode: 'link', content: 'https://github.com/openRin/Rin' },
],
locales: [
{
lang: 'en',
label: 'English',
outlineTitle: 'ON THIS Page',
},
{
lang: 'zh',
label: '简体中文',
outlineTitle: '大纲',
},
],
},
});