forked from eoscostarica/guide.eoscostarica.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
158 lines (155 loc) · 4.91 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.
const siteConfig = {
title: 'EOS Costa Rica Developers Guide', // Title for your website.
tagline: 'We’d like to welcome you to our collaborative effort '+
'and induct you on to awesome blockchain technology ' +
'and all the paradigms that make it possible.',
url: 'https://guide.eoscostarica.io', // Your website URL
baseUrl: '/', // Base URL for your project */
//cname: "guide.eoscostarica.io",
// Used for publishing and more
projectName: 'guide.eoscostarica.io',
organizationName: 'eoscostarica',
favicon: 'img/favicon/favicon.ico',
//scripts: ['https://buttons.github.io/buttons.js','../../scripts/languageSelector.js'],
themeConfig: {
navbar: {
logo: {
alt: 'EOS Costa Rica Logo',
src: 'https://raw.githubusercontent.com/eoscostarica/design-assets/master/logos/eosCR/byw-horizontal-transparent.png',
srcDark: 'https://raw.githubusercontent.com/eoscostarica/design-assets/master/logos/eosCR/byw-horizontal-transparent-white.png'
},
items: [
/*{
href: 'https://guias.eoscostarica.io/',
label: 'Inicio',
position: 'left',
},*/
{to: 'docs/open-source-guidelines', label: 'Developer Guidelines', position: 'left'},
{to: 'docs/eos-learn/eosio-protocol', label: 'Learn EOSIO', position: 'left'},
{to: 'docs/tutorials/node-installation', label: 'Tutorials', position: 'left'},
{to: 'docs/tools/glossary', label: 'Tools', position: 'left'},
{to: 'docs/community-resources/telegram-channels', label: 'Community', position: 'left'},
{to: 'https://eoscostarica.io/', label: 'Website', position: 'left'},
{
href: 'https://guias.eoscostarica.io/',
label: 'Español',
position: 'right',
},
{to: 'search'},
],
},
footer: {
logo: {
alt: 'EOS Costa Rica Logo',
src: 'https://raw.githubusercontent.com/eoscostarica/design-assets/master/logos/eosCR/byw-horizontal-transparent.png',
href: 'https://guide.eoscostarica.io/',
},
links: [
{
title: 'EOS Costa Rica',
items: [
{
label: 'Engineering Culture',
to: '/docs/engineering-culture',
},
{
label: 'Open Source Projects',
to: '/docs/open-source-projects',
},
{
label: 'Open Source Guidelines',
to: '/docs/open-source-guidelines',
},
],
},
{
title: 'Community',
items: [
{
label: 'Meetup',
href: 'https://www.meetup.com/es/EOS-Costa-Rica/',
},
{
label: 'Telegram channels',
href: 'https://t.me/eoscr',
},
{
label: 'GitHub',
href: 'https://github.com/eoscostarica/',
},
],
},
{
title: 'More',
items: [
{
label: 'Linkedin',
href: 'https://www.linkedin.com/company/eoscostarica/',
},
{
label: 'Medium',
href: 'https://medium.com/@eoscostarica',
},
{
label: 'Twitter',
href: 'https://twitter.com/eoscostarica',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} EOS Costa Rica`, // You can also put own HTML here.
},
//Algolia integration
algolia: {
apiKey: 'b385fd20b79dbd8086bb917c038de56e',
indexName: 'eoscostarica',
placeholder: 'Search',
algoliaOptions: {} // Optional, if provided by Algolia
},
googleAnalytics: {
trackingID: "UA-173987-66",
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// Docs folder path relative to website dir.
path: './docs',
// Sidebars file relative to website dir.
editUrl:
'https://github.com/eoscostarica/guide.eoscostarica.io/tree/master/',
sidebarPath: require.resolve('./sidebars.js'),
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
{
src:
'https://medium-widget.pixelpoint.io/widget.js',
async: true,
},
{
src:
'../../static/scripts/mediumScript.js',
async: true,
},
"https://platform.twitter.com/widgets.js"
]
};
module.exports = siteConfig;