-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
121 lines (116 loc) · 3.48 KB
/
docusaurus.config.js
File metadata and controls
121 lines (116 loc) · 3.48 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
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
module.exports = {
title: 'Consento',
tagline: 'Data privacy for humans, by humans.',
url: 'https://consento.org',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/consento/cc-by-nc-nd/logo/favicon.ico',
organizationName: 'consento-org', // Usually your GitHub org/user name.
projectName: 'consento-org.github.io', // Usually your repo name.
themeConfig: {
navbar: {
title: 'Consento',
logo: {
alt: 'Consento Logo',
src: 'img/consento/cc-by-nc-nd/logo/consento-with-text.png',
},
items: [
{to: 'about', label: 'About', position: 'right'},
{to: 'docs/overview', label: 'Documentation', position: 'right'},
{to: 'usecases', label: 'Use cases', position: 'right'},
{
label: 'Community',
position: 'right',
items: [
{
label: 'Team',
href: '/team',
},
{
label: 'Supporters',
href: '/supporters',
},
{
label: 'Github',
href: 'https://github.com/consento-org/',
},
],
},
{to: 'blog', label: 'Blog', position: 'right'},
{to: 'download', label: 'Download', position: 'right', className: 'navbar__button'}
]
},
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{ label: 'Discord', href: 'https://discord.gg/BAPxpGjgXH', },
{ label: 'Twitter', href: 'https://twitter.com/consentoorg', },
{ label: 'Supporters', to: 'supporters', },
],
},
{
title: 'Develop',
items: [
{ label: 'Github Repository', href: 'https://github.com/consento-org/', },
{ label: 'Discord Chat', href: 'https://discord.gg/BAPxpGjgXH' },
{ label: 'Building Blocks', to: 'docs/time' },
{ label: 'Documentation', to: 'docs/overview' },
],
},
{
title: 'About',
items: [
{ label: 'Team', to: 'team', },
{ label: 'About', to: 'about', },
{ label: 'コンセントについて', to: 'jp', },
{ label: 'Use cases', to: 'usecases', },
],
},
],
copyright: `© ${new Date().getFullYear()} Consento - All rights reserved - <a href="/credits">Credits</a> - <a href="/privacy-policy">Privacy Policy</a>`,
},
},
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/time', // string
from: ['/blocks'], // string | string[]
},
],
},
],
],
presets: [
[
'@docusaurus/preset-classic',
{
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/consento-org/consento-org.github.io/edit/main/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
docs: {
sidebarPath: require.resolve('./sidebars.js'),
path: 'docs',
editUrl: 'https://github.com/consento-org/consento-org.github.io/edit/main/',
routeBasePath: 'docs',
remarkPlugins: [],
rehypePlugins: [],
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
},
],
],
};