forked from eoscostarica/guias.eoscostarica.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
157 lines (144 loc) · 4.65 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
/**
* 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: 'Desarrolladores EOS Costa Rica', // Title for your website.
tagline: 'Documentación para desarrolladores de EOS Costa Rica',
url: 'https://guias.eoscostarica.io', // Your website URL
baseUrl: '/', // Base URL for your project */
//cname: "guias.eoscostarica.io",
i18n: {
defaultLocale: 'es',
locales: ['es']
},
// Used for publishing and more
projectName: 'guias.eoscostarica.io',
organizationName: 'eoscostarica',
favicon: 'img/favicon/favicon.ico',
//scripts: ['https://buttons.github.io/buttons.js','../../scripts/languageSelector.js'],
themeConfig: {
navbar: {
title: ' ',
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: [
{to: 'docs/pautas-para-codigo-abierto', label: 'Pautas para Desarrolladores', position: 'left'},
{to: 'docs/aprender-eosio/protocolo-eosio', label: 'Blockchain EOSIO', position: 'left'},
{to: 'docs/tutoriales/guia-markdown', label: 'Tutoriales', position: 'left'},
{to: 'docs/herramientas/glosario', label: 'Herramientas', position: 'left'},
{to: 'docs/comunidad/redes-eosio', label: 'Comunidad', position: 'left'},
{to: 'https://eoscostarica.io/', label: 'Website', position: 'left'},
{
href: 'https://guide.eoscostarica.io/',
label: 'English',
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://guias.eoscostarica.io/'
},
links: [
{
title: 'EOS Costa Rica',
items: [
{
label: 'Cultura Ingenieril',
to: '/docs/cultura-ingenieril',
},
{
label: 'Proyectos de Código Abierto',
to: '/docs/proyectos-de-codigo-abierto',
},
{
label: 'Pautas para Código Abierto',
to: '/docs/pautas-para-codigo-abierto',
},
],
},
{
title: 'Comunidad',
items: [
{
label: 'Meetup',
href: 'https://www.meetup.com/es/EOS-Costa-Rica/',
},
{
label: 'Canal de Telegram',
href: 'https://t.me/eoscr',
},
{
label: 'GitHub',
href: 'https://github.com/eoscostarica/',
},
],
},
{
title: 'Más',
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: 'bc2a776159634dff6c77c849d8b80dc1',
indexName: 'eoscostarica_guias',
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',
editUrl: 'https://github.com/eoscostarica/guias.eoscostarica.io/tree/master/',
// Equivalent to `docsUrl`.
routeBasePath: 'docs',
// Sidebars file relative to website dir.
sidebarPath: require.resolve('./sidebars.js'),
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
"https://platform.twitter.com/widgets.js"
]
};
module.exports = siteConfig;