forked from OpenRefine/OpenRefine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
105 lines (105 loc) · 3 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
module.exports = {
onBrokenLinks: 'warn',
title: 'OpenRefine',
tagline: 'A power tool for working with messy data.',
url: 'https://docs.openrefine.org/',
baseUrl: '/',
favicon: 'img/openrefine_logo.png',
organizationName: 'OpenRefine', // Usually your GitHub org/user name.
projectName: 'OpenRefine', // Usually your repo name.
themeConfig: {
navbar: {
title: 'OpenRefine Documentation',
logo: {
alt: 'OpenRefine diamond logo',
src: 'img/openrefine_logo.png',
},
items: [
{
to: '/',
activeBasePath: 'docs',
label: 'User Manual',
position: 'left',
},
{to: 'technical-reference/technical-reference-index',
label: 'Technical Reference',
position: 'left'},
{
href: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
logo: {
alt: 'OpenRefine diamond logo',
src: 'img/openrefine_logo.png',
href: 'https://docs.openrefine.org',
},
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'Mailing List',
href: 'http://groups.google.com/group/openrefine/'
},
{
label: 'Gitter Chat',
href: 'https://gitter.im/OpenRefine/OpenRefine',
},
{
label: 'Twitter',
href: 'https://twitter.com/openrefine',
},
],
},
{
title: 'More',
items: [
{
label: 'Official Website',
href: 'https://openrefine.org',
},
{
label: 'GitHub',
href: 'https://github.com/OpenRefine/OpenRefine',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} OpenRefine contributors`,
},
},
themes: [],
plugins: [],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// Docs folder path relative to website dir. Equivalent to `customDocsPath`.
// path: 'docs',
// Sidebars file relative to website dir.
sidebarPath: require.resolve('./sidebars.js'),
// Equivalent to `editUrl` but should point to `website` dir instead of `website/docs`.
editUrl: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs',
// Equivalent to `docsUrl`.
routeBasePath: '/',
// Remark and Rehype plugins passed to MDX. Replaces `markdownOptions` and `markdownPlugins`.
remarkPlugins: [],
rehypePlugins: [],
// Equivalent to `enableUpdateBy`.
showLastUpdateAuthor: true,
// Equivalent to `enableUpdateTime`.
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};