-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathdocusaurus.config.js
106 lines (106 loc) · 2.44 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
module.exports = {
title: 'HerbsJS - Build microservices with DDD and Clean Achitecture',
tagline: 'Domain first - The core that matters',
url: 'https://herbsjs.org',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/logo-herbsjs.svg',
organizationName: 'herbsjs',
projectName: 'website',
customFields: {
description: 'Herbs - Build your microservices in Node.js with Clean Architecture and Domain Driven Design.',
},
themeConfig: {
navbar: {
logo: {
alt: 'HerbsJs\'s logo',
src: 'img/herbsjs.svg',
srcDark: 'img/herbsjs-white.svg',
},
items: [
{
href: 'https://twitter.com/herbsjs',
className: 'twitter-icon',
'aria-label': 'Twitter',
position: 'right',
},
{
href: 'https://discord.gg/e3cQ66KDv5',
className: 'discord-icon',
'aria-label': 'Discord',
position: 'right',
},
],
},
footer: {
logo: {
alt: 'Herbs Logo',
src: 'img/logo-herbsjs-branco.svg',
},
links: [
{
title: 'Docs',
items: [
{
label: 'Documentation Guide',
to: 'docs/',
}
],
},
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/e3cQ66KDv5',
},
{
label: 'Twitter',
href: 'https://twitter.com/herbsjs',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/herbsjs',
},
{
label: 'Acknowledgements',
to: 'docs/project/acknowledgements',
},
],
},
],
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/herbsjs/herbsjs.github.io/blob/master',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-LMCPKQXZHH'
},
},
],
],
plugins: [
[
"docusaurus2-dotenv", {
systemvars: true,
},
],
]
};