-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrspress.config.ts
34 lines (33 loc) · 911 Bytes
/
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
import * as path from 'path';
import { defineConfig } from 'rspress/config';
export default defineConfig({
markdown: {
showLineNumbers: true,
defaultWrapCode: true,
},
globalStyles: path.join(__dirname, './src/styles/styles.css'),
mediumZoom: {
selector: '.rspress-doc img',
},
base: "/a-tiddlywiki-odyssey",
root: path.join(__dirname, 'docs'),
title: 'a-tiddlywiki-odyssey',
description: 'A TiddlyWiki Odyssey',
icon: '/favicon.ico',
logo: {
light: '/favicon.ico',
dark: '/favicon.ico',
},
themeConfig: {
enableContentAnimation: true,
outlineTitle: '目录',
lastUpdated: true,
lastUpdatedText: '最后更新于',
prevPageText: '上一篇',
nextPageText: '下一篇',
sourceCodeText: 'Source',
socialLinks: [
{ icon: 'github', mode: 'link', content: 'https://github.com/dongrentianyu/a-tiddlywiki-odyssey' },
],
},
});