-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocusaurus.config.js
181 lines (177 loc) · 4.99 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/**
* 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: "Documentación EOSIO y Antelope",
tagline: "Documentación para desarrolladores en redes blockchain EOSIO y Antelope",
url: "https://guias.eoscostarica.io",
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: {
image: "img/metaImg.jpg",
navbar: {
title: " ",
logo: {
alt: "EOS Costa Rica Logo",
src: "/img/byw-horizontal-transparent.png",
srcDark: "/img/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: "Aprenda EOSIO y Antelope",
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" },
],
},
colorMode: {
defaultMode: "dark",
disableSwitch: false,
respectPrefersColorScheme: true,
},
footer: {
logo: {
alt: "EOS Costa Rica Logo",
src: "/img/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()} <a title="Edenia Desarrollo Web3" href="https://edenia.com" target="_blank">EDENIA</a>`, // You can also put own HTML here.
},
//Algolia integration
algolia: {
appId: "BH4D9OD16A",
apiKey: "bc2a776159634dff6c77c849d8b80dc1",
indexName: "eoscostarica_guias",
placeholder: "Search",
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
trailingSlash: false,
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,
},
googleAnalytics: {
trackingID: "UA-173987-66",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
ignorePatterns: [],
filename: "sitemap.xml",
},
},
],
],
scripts: [],
};
module.exports = siteConfig;