This repository has been archived by the owner on May 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
docusaurus.config.js
131 lines (130 loc) · 3.4 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
130
131
module.exports = {
title: 'Zilliqa Developer Portal',
tagline: 'Technical documentation for participating in the Zilliqa network.',
url: 'https://dev.zilliqa.com',
baseUrl: (!process.env.BASE_URL || process.env.BASE_URL == "") ? '/' : process.env.BASE_URL,
favicon: 'img/favicon.png',
organizationName: 'zilliqa', // Usually your GitHub org/user name.
projectName: 'dev-portal', // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: 'light',
respectPrefersColorScheme: false,
},
navbar: {
title: 'Zilliqa Developer Portal',
logo: {
alt: 'Zilliqa Logo',
src: 'img/logo.png',
},
items: [
{
to: 'docs/basics/basics-intro-blockchain',
activeBasePath: 'docs/basics',
label: 'Basics',
position: 'right',
},
{
to: 'docs/dev/dev-started-introduction',
activeBasePath: 'docs/dev',
label: 'Developers',
position: 'right',
},
{
to: 'docs/apis/api-introduction',
activeBasePath: 'docs/apis',
label: 'APIs',
position: 'right',
},
{
to: 'docs/miners/mining-getting-started',
activeBasePath: 'docs/miners',
label: 'Miners',
position: 'right',
},
{
to: 'docs/exchanges/exchange-getting-started',
activeBasePath: 'docs/exchanges',
label: 'Exchanges',
position: 'right',
},
{
to: 'docs/staking/staking-overview',
activeBasePath: 'docs/staking',
label: 'Staking',
position: 'right',
},
{
to: 'docs/contributors/contribute-buildzil',
activeBasePath: 'docs/contributors',
label: 'Contributors',
position: 'right',
},
],
},
footer: {
links: [
{
title: 'Developer Groups',
items: [
{
label: 'Discord',
href: 'https://discord.com/invite/XMRE9tt',
},
{
label: 'Telegram',
href: 'https://t.me/ZilliqaDevs',
},
],
},
{
title: 'Social',
items: [
{
label: 'Twitter',
href: 'https://twitter.com/zilliqa',
},
{
label: 'Youtube',
href: 'https://www.youtube.com/channel/UCvinnFbf0u71cajoxKcfZIQ',
},
],
},
{
title: 'Other Links',
items: [
{
label: 'Blog',
href: 'https://blog.zilliqa.com/',
},
{
label: 'GitHub',
href: 'https://github.com/zilliqa',
},
],
},
],
copyright: `Copyright © 2022 Zilliqa Research Pte. Ltd.`,
},
//algolia: {
// apiKey: 'f1777493b2d9d1824a5daf3be87092db',
// indexName: 'zilliqa_developer',
//},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/Zilliqa/dev-portal/tree/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};