-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
69 lines (69 loc) · 1.79 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
69 lines (69 loc) · 1.79 KB
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
69
module.exports = {
title: '中国传统文化图书馆',
tagline: '',
url: 'https://l2yao.github.io',
baseUrl: '/open-library/',
favicon: 'img/favicon.ico',
organizationName: 'l2yao', // Usually your GitHub org/user name.
projectName: 'open-library', // Usually your repo name.
themeConfig: {
navbar: {
title: '中国传统文化图书馆',
logo: {
//alt: 'My Site Logo',
src: 'img/logo.svg',
},
items: [
{
href: 'https://github.com/l2yao/open-library',
position: 'right',
className: 'header-github-link',
label: 'GitHub',
},
{to: 'docs/foxiang', label: '佛像', position: 'left'},
],
},
footer: {
style: 'dark',
links: [
{
title: '參考網站',
items: [
{
label: '淨空老法師專集網站',
href: 'http://www.amtb.org.tw/',
},
{
label: '世界数字图书馆主页',
href: 'https://www.wdl.org/zh/',
},
{
label: 'Kanseki Repository',
href: 'https://www.kanripo.org/',
},
{
label: '中国哲学书电子化计划',
href: 'https://ctext.org/zhs',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Long Yao, Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};