-
Notifications
You must be signed in to change notification settings - Fork 5
/
docusaurus.config.js
executable file
·111 lines (110 loc) · 2.89 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
const versions = require('./versions.json');
module.exports = {
title: 'COMIT Developer Hub',
tagline: 'COMIT is an open protocol facilitating trustless cross-blockchain applications',
url: 'https://comit.network',
baseUrl: '/',
favicon: 'img/docusaurus/favicon.ico',
organizationName: 'comit-network', // Usually your GitHub org/user name.
projectName: 'comit-js-sdk', // Usually your repo name.
themeConfig: {
gtag: {
trackingID: 'G-5RW3YGGP4Y',
},
algolia: {
apiKey: '8227df9d2316772d3462018f3968c609',
indexName: 'comit_developer',
},
navbar: {
title: 'Developer Hub',
logo: {
alt: 'COMIT',
src: 'img/docusaurus/logo.svg',
srcDark: 'img/docusaurus/logo_white.svg',
href: 'https://comit.network'
},
links: [
// {
// to: 'docs/getting-started/create-comit-app',
// label: 'Docs',
// position: 'left',
// },
{to: 'blog', label: 'Blog', position: 'left'},
{
to: 'versions',
label: `Versions`,
position: 'right',
items: [
{
label: `v${versions[0]}`,
to: `docs/getting-started/create-comit-app`,
},
].concat(
versions.slice(1).map(version => ({
label: `v${version}`,
to: `docs/${version}/getting-started/create-comit-app`,
})),
),
},
{
href: 'https://github.com/comit-network',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
// {
// title: 'Docs',
// items: [
// {
// label: 'Getting Started',
// to: 'docs/getting-started',
// },
// {
// label: 'COMIT Protocol',
// to: 'docs/comit-protocol',
// },
// {
// label: 'Core Concepts',
// to: 'docs/core-concepts',
// },
// ],
// },
{
title: 'Community',
"items": [
{
"label": "Matrix",
"href": "https://app.element.io/#/room/#comit:matrix.org"
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} CoBloX`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/comit-network/comit.network/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
blog: {
feedOptions: {
type: 'all',
copyright: `Copyright © ${new Date().getFullYear()} CoBloX.`,
},
},
},
],
],
};