-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathdocusaurus.config.js
232 lines (232 loc) · 7.39 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
module.exports = {
title: "Clutch · An extensible platform for infrastructure management.",
tagline: "Shifting infrastructure management to a friendlier place.",
url: "https://clutch.sh",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "lyft", // Usually your GitHub org/user name.
projectName: "clutch", // Usually your repo name.
stylesheets: [
"https://fonts.googleapis.com/css2?family=Roboto&family=Open+Sans&display=swap",
"https://cdn.rawgit.com/luizbills/feather-icon-font/v4.7.0/dist/feather.css",
],
plugins: [],
customFields: {
tagDescription: "An extensible platform for infrastructure management.",
hero: {
description:
"Clutch provides everything you need to improve your developers' experience and operational capabilities. It comes with several out-of-the-box features for managing cloud-native infrastructure, but is easily configured or extended to interact with whatever you run, wherever you run it.",
buttons: {
first: {
url: "docs/about/what-is-clutch",
text: "Learn More",
},
second: {
url: "docs/getting-started/build-guides",
text: "Get Started",
},
},
},
sections: {
features: {
title: "Why Clutch?",
featureList: [
{
title: "Secure",
imageUrl: "img/microsite/reasons/secure.svg",
description: `
Clutch has first-class support for role based access control down to the
individual resource level. In addition, it ships with rich auditing so you
can see what's happening in Slack, email notifications, or logs.
`,
},
{
title: "",
imageUrl: "img/microsite/logo.svg",
},
{
title: "Extensible. Really.",
imageUrl: "img/microsite/reasons/extensible.svg",
description: `
Highly configurable. No forks. Private extensions. Clutch's abstractions
make it work for your environment without messy hacks or rewrites.
Adding new features is easy too.
`,
},
{
title: "One Entrypoint",
imageUrl: "img/microsite/reasons/single-entrypoint.svg",
description: `
Access your company's tech stack through a single pane of glass. But
don't worry, it's not too fragile or breakable. Clutch is easy to maintain
as your infrastructure evolves.
`,
},
{
title: "Straightforward",
imageUrl: "img/microsite/reasons/user-experience.svg",
description: `
Consistent and clear design with built-in safegaurds throughout to
turn your complex processes into simple and safe operations that anyone
can understand.
`,
},
{
title: "The Long Tail",
imageUrl: "img/microsite/reasons/file.svg",
description: `
Infrastructure as code is great, we love it too, but there's a lot
of your infrastructure not covered by it.
`,
},
],
},
demo: {
lines: ["Don't take our word for it.", "See what Clutch has to offer."],
cta: {
text: "Workflows & Components",
link: "docs/components",
},
},
consolidation: {
snippets: [
`
Stop putting your team through an endless stream of high-friction tools and user interfaces.
Clutch allows you to combine many tools into one, in the form that your developers use most.
`,
`
We grow with you. Clutches extensible platform means you can integrate as many tools as
you need, even if they are specific to you.
`,
],
},
},
},
themeConfig: {
image: "img/docs/landing-page.png", // SEO image for Twitter card, etc.
colorMode: {
disableSwitch: true,
},
algolia: {
// This is a read-only, search-only key served directly by the front-end, managed by Algolia via their
// free DocSearch program. The key is not sensitive. See https://docsearch.algolia.com/ for more details.
apiKey: "e9fd4dc1b48bb4b9e8763d3adc9df6d1",
appId: "XFPMTG0051",
indexName: "lyft_clutch",
contextualSearch: false,
},
prism: {
additionalLanguages: ["protobuf", "typescript"],
theme: require("prism-react-renderer/themes/vsDark"),
},
navbar: {
logo: {
alt: "Clutch Logo",
src: "img/navigation/logoMark.svg",
},
items: [], // items are defined directly in the swizzled component so they can have an icon attr.
},
footer: {
style: "light",
logo: {
src: "img/navigation/logo.svg",
},
links: [
{
title: "About",
items: [
{
label: "What is Clutch?",
to: "docs/about/what-is-clutch",
},
{
label: "Roadmap",
to: "docs/about/roadmap",
},
{
label: "Architecture",
to: "docs/about/architecture",
},
],
},
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/getting-started/build-guides",
},
{
label: "Development",
to: "docs/development/guide",
},
{
label: "Configuration",
to: "docs/configuration",
},
],
},
{
title: "Components",
items: [
{
label: "Frontend",
to: "docs/components#frontend",
},
{
label: "Backend",
to: "docs/components#backend",
},
{
label: "Storybook",
to: "https://storybook.clutch.sh",
},
],
},
{
title: "Community",
items: [
{
label: "GitHub",
to: "https://github.com/lyft/clutch",
},
{ label: "Blog", to: "blog" },
{
label: "More",
to: "docs/community",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://lyft.com" target="blank">Lyft, Inc.</a>`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "generated/docs",
sidebarPath: require.resolve("../sidebars.json"),
},
googleAnalytics: {
trackingID: "UA-170615678-4",
anonymizeIP: true,
},
blog: {
path: "generated/blog",
blogTitle: "Clutch Open-source Developer Blog",
blogDescription:
"Where Clutch open-source maintainers and contributors share their work and thoughts on development.",
feedOptions: {
type: "all",
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://lyft.com" target="blank">Lyft, Inc.</a>`,
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};