forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
172 lines (171 loc) · 4.41 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
const path = require('path');
module.exports = {
title: 'Vector',
tagline: 'A lightweight and ultra-fast tool for building observability pipelines',
url: 'https://vector.dev',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'timberio',
projectName: 'vector',
customFields: {
metadata: require('./metadata'),
},
themeConfig: {
navbar: {
hideOnScroll: true,
logo: {
alt: 'Vector',
src: 'img/logo-light.svg'
},
links: [
{to: 'components/', label: 'Components', position: 'left'},
{to: 'guides/', label: 'Guides', position: 'left'},
{to: 'docs/', label: 'Docs', position: 'left'},
{to: 'blog/', label: 'Blog', position: 'left'},
{to: 'community/', label: 'Community', position: 'right'},
{to: 'releases/', label: 'Download', position: 'right'},
{href: 'https://github.com/timberio/vector', label: "GitHub", position: 'right'},
],
},
image: 'img/open-graph.png',
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
},
footer: {
links: [
{
title: 'About',
items: [
{
label: 'What is Vector?',
to: 'docs/about/what-is-vector/',
},
{
label: 'The Team',
to: 'community/#team',
},
{
label: 'Contact Us',
to: 'contact/',
},
{
label: 'Press',
to: 'press/',
},
],
},
{
title: 'Components',
items: [
{
label: 'Sources',
to: 'docs/reference/sources/',
},
{
label: 'Transforms',
to: 'docs/reference/transforms/',
},
{
label: 'Sinks',
to: 'docs/reference/sinks/',
},
],
},
{
title: 'Setup',
items: [
{
label: 'Install',
to: 'docs/setup/installation/',
},
{
label: 'Deployment',
to: 'docs/setup/deployment/',
},
{
label: 'Configuration',
to: 'docs/setup/configuration/',
},
{
label: 'Administration',
to: 'docs/administration/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Chat',
to: 'https://chat.vector.dev',
},
{
label: 'Github',
to: 'https://github.com/timberio/vector',
},
{
label: 'Twitter',
to: 'https://twitter.com/vectordotdev',
},
{
label: 'Mailing List',
to: 'mailing_list/',
},
{
label: 'Blog',
to: 'blog/',
},
],
},
],
logo: {
alt: 'Timber.io',
src: '/img/timber-logo.svg',
href: 'https://timber.io/',
},
copyright: `Copyright © ${new Date().getFullYear()} Timber, Inc.`,
},
algolia: {
apiKey: '2356c5cb76b57b43624c6450b0a031cc',
indexName: 'timberio_vector',
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
presets: [],
plugins: [
[
'@docusaurus/plugin-content-docs',
{
editUrl: 'https://github.com/timberio/vector/edit/master/website/',
sidebarPath: require.resolve('./sidebars.js')
}
],
[
'@docusaurus/plugin-content-blog',
{
feedOptions: {
type: 'all',
copyright: `Copyright © ${new Date().getFullYear()} Timber, Inc.`,
}
}
],
path.resolve(__dirname, './plugins/guides'),
['@docusaurus/plugin-content-pages', {}],
[path.resolve(__dirname, './plugins/sitemap'), {}]
],
scripts: [],
stylesheets: [
'https://fonts.googleapis.com/css?family=Ubuntu|Roboto|Source+Code+Pro',
'https://at-ui.github.io/feather-font/css/iconfont.css'
],
themes: [
[
'@docusaurus/theme-classic',
{
customCss: require.resolve('./src/css/custom.css')
}
],
'@docusaurus/theme-search-algolia'
]
};