generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy paththeme.config.tsx
39 lines (36 loc) · 1.03 KB
/
theme.config.tsx
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
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import Navbar from "./components/navbar";
const config: DocsThemeConfig = {
logo: <span>FastExcel</span>,
navbar: {
component: Navbar,
},
navigation: false,
project: {
link: "https://github.com/CodePhiliaX/fastexcel",
},
docsRepositoryBase:
"https://github.com/CodePhiliaX/fastexcel/tree/main/docs",
footer: {
content: `© ${new Date().getFullYear()} FastExcel. All rights reserved.`,
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="FastExcel - 让Excel处理更简单" />
<meta
property="og:description"
content="高性能、易用的Java Excel处理工具"
/>
</>
),
darkMode: false,
i18n: [
{ locale: "zh-CN", name: "简体中文" },
{ locale: "zh-TW", name: "繁體中文" },
{ locale: "en-US", name: "English" },
{ locale: "ja-JP", name: "日本語" },
],
};
export default config;