-
Notifications
You must be signed in to change notification settings - Fork 15
/
docusaurus.config.js
175 lines (172 loc) · 4.88 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
/**
* 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: "EOSIO + Antelope Documentation",
tagline: "Developer Documentation for EOSIO + Antelope Blockchain Networks",
url: "https://guide.eoscostarica.io",
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: {
image: "img/metaImg.jpg",
navbar: {
logo: {
alt: "EOS Costa Rica Logo",
src: "/img/byw-horizontal-transparent.png",
srcDark:
"/img/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 + Antelope",
position: "left",
},
{
to: "docs/tutorials/markdown-guide",
label: "Tutorials",
position: "left",
},
{ to: "docs/tools/glossary", label: "Tools", position: "left" },
{
to: "docs/community-resources/eosio-networks",
label: "Community",
position: "left",
},
{ to: "https://eoscostarica.io/", label: "Website", position: "left" },
{
href: "https://guias.eoscostarica.io/",
label: "Español",
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://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()} <a title="Edenia Web3 Development" href="https://edenia.com" target="_blank">EDENIA</a>`, // You can also put own HTML here.
},
//Algolia integration
algolia: {
apiKey: "b385fd20b79dbd8086bb917c038de56e",
appId: "BH4D9OD16A",
indexName: "eoscostarica",
placeholder: "Search",
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
trailingSlash: false,
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"),
},
googleAnalytics: {
trackingID: "UA-173987-66",
},
sitemap: {
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: [],
filename: 'sitemap.xml',
},
},
],
],
scripts: [],
};
module.exports = siteConfig;