-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
43 lines (41 loc) · 974 Bytes
/
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
40
41
42
43
// theme.config.js
import type { DocsThemeConfig} from 'nextra-theme-docs';
import React from 'react';
const config: DocsThemeConfig = {
project: {
link: 'https://github.com/ncuhome/mincu'
},
docsRepositoryBase: 'https://github.com/ncuhome/mincu-site/tree/main/pages',
useNextSeoProps() {
return {
titleTemplate: '%s – Mincu'
}
},
toc: {
float: true,
},
navigation: {
prev: true,
next: true,
},
darkMode: true,
footer: {
text: <span>MIT {new Date().getFullYear()} © <a href="https://team.ncuos.com" target="_blank">NCUHOME</a>.</span>
},
editLink: {
text: 'Edit this page on GitHub',
},
logo: (
<>
<span>👏 mincu - 南大家园 WEB JS API</span>
</>
),
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Mincu" />
<meta name="og:title" content="Mincu" />
</>
),
}
export default config;