forked from NFDI4Chem/knowledge_base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
129 lines (125 loc) · 3.73 KB
/
docusaurus.config.js
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'NFDI4Chem Knowledge Base',
tagline: 'A place for all knowledge regarding Research Data Management (RDM) in Chemistry',
url: 'https://n4c-kb.chemie.uni-mainz.de/',
baseUrl: '/knowledge_base/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
organizationName: 'NFDI4Chem', // Usually your GitHub org/user name.
projectName: 'knowledge_base', // Usually your repo name.
trailingSlash: 'true',
themeConfig: {
navbar: {
title: 'Home',
logo: {
alt: 'NFDI4Chem Logo',
src: 'img/N4C_logo_navbar.svg',
},
items: [
{
type: 'doc',
docId: 'intro',
position: 'left',
label: 'Knowledge Base',
},
{
label: 'FAQ',
href: 'https://www.nfdi4chem.de/index.php/frequently-asked-questions/',
},
],
},
footer: {
style: 'dark',
links: [
{
items: [
{
html: `
<a href="https://www.dfg.de" target="_blank"><img src="/knowledge_base/img/dfg_logo_schriftzug_weiss_foerderung_en.gif" /></a>
<p>NFDI4Chem is funded by DFG<br>Project Number 441958208</p>
`
},
]
},
{
title: 'Community',
items: [
{
label: 'LinkedIn',
href: 'https://www.linkedin.com/company/nfdi4chem',
},
{
label: 'Twitter',
href: 'https://twitter.com/nfdi4chem',
},
],
},
{
title: 'Resources',
items: [
{
label: 'NFDI4Chem Website',
href: 'https://nfdi4chem.de',
},
{
label: 'NFDI4Chem Helpdesk',
href: 'https://nfdi4chem.de/index.php/helpdesk/'
},
{
label: 'GitHub',
href: 'https://github.com/NFDI4Chem/knowledge_base',
},
],
},
{
title: 'Legal information',
items: [
{
label: 'About',
to: 'about',
},
{
label: 'Legal Notice',
href: 'https://www.uni-mainz.de/eng/102.php'
},
{
label: 'Privacy',
href: 'https://www.uni-mainz.de/eng/144.php'
}
],
},
],
copyright: `
<div class="container" style="width: 60%;">
<div class="row">
<div class="cell" style="padding: 1rem;" ><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"></a>
</div>
<div class="cell" style="padding: 0.1rem; text-align: left;" >Licensed under a <a class="footer__link-item" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.<br />
Copyright © 2021 NFDI4Chem. Built with Docusaurus.
</div>
</div>
</div>
`,
},
colorMode: {disableSwitch: true,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/NFDI4Chem/knowledge_base/tree/main/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};