-
Notifications
You must be signed in to change notification settings - Fork 4
/
rspress.config.ts
68 lines (67 loc) · 1.69 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import * as path from "path";
import { defineConfig } from "rspress/config";
import { pluginShiki } from "@rspress/plugin-shiki";
export default defineConfig({
root: path.join(__dirname, "doc"),
// base:'ept',
title: "ept",
description: "Next-generation Windows package management solution",
icon: "doc/public/nep.ico",
logo: "/nep.png",
themeConfig: {
footer: {
message: "MIT Licensed | Rendered by Rspress",
},
socialLinks: [
{
icon: "github",
mode: "link",
content: "https://github.com/EdgelessPE/ept",
},
],
editLink: {
docRepoBaseUrl: "https://github.com/EdgelessPE/ept/edit/develop/doc",
text: "Edit this page on GitHub",
},
locales: [
{
lang: "zh",
label: "简体中文",
editLink: {
docRepoBaseUrl: "https://github.com/EdgelessPE/ept/edit/develop/doc",
text: "在 GitHub 上编辑此页",
},
prevPageText: "上一篇",
nextPageText: "下一篇",
outlineTitle: "目录",
searchPlaceholderText: "搜索",
searchNoResultsText: "未搜索到相关结果",
searchSuggestedQueryText: "可更换不同的关键字后重试",
},
{
lang: "en",
label: "English",
editLink: {
docRepoBaseUrl: "https://github.com/EdgelessPE/ept/edit/develop/doc",
text: "Edit this page on GitHub",
},
searchPlaceholderText: "Search",
},
],
},
markdown: {
checkDeadLinks: true,
},
plugins: [pluginShiki()],
lang: "zh",
locales: [
{
lang: "en",
label: "English",
},
{
lang: "zh",
label: "简体中文",
},
],
});