forked from sorbet/sorbet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siteConfig.js
162 lines (141 loc) · 4.11 KB
/
siteConfig.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
//
// For all the possible configuration options:
// https://docusaurus.io/docs/site-config
//
// List of projects/orgs using your project for the users page.
const users = [
{
caption: 'Shopify',
image: 'img/shopify-logo.svg',
infoLink: 'https://www.shopify.com/',
},
{
caption: 'Coinbase',
image: 'img/coinbase-logo.png',
infoLink: 'https://www.coinbase.com/',
},
{
caption: 'Atrium',
image: 'img/atrium-logo.jpg',
infoLink: 'https://www.atrium.co/',
},
{
caption: 'Chan Zuckerberg Initiative',
image: 'img/czi-logo.svg',
infoLink: 'https://chanzuckerberg.com/',
},
{
caption: 'Factorial',
image: 'img/factorial-logo.png',
infoLink: 'https://factorialhr.com/',
},
{
caption: 'Grailed',
image: 'img/grailed-logo.png',
infoLink: 'https://www.grailed.com/',
},
{
caption: 'Gusto',
image: 'img/gusto-logo.jpg',
infoLink: 'https://gusto.com/',
},
{
caption: 'Kickstarter',
image: 'img/kickstarter-logo.png',
infoLink: 'https://www.kickstarter.com/',
},
{
caption: 'Vonage',
image: 'img/vonage-logo.png',
infoLink: 'https://www.vonage.com/',
},
{
caption: 'PhishSafety',
image: 'img/phishsafety-logo.png',
infoLink: 'https://phishsafety.com',
},
{
caption: 'Workforce.com',
image: 'img/workforce-logo.png',
infoLink: 'https://www.workforce.com/',
},
];
const siteConfig = {
title: 'Sorbet',
tagline: 'A static type checker for Ruby',
url: 'https://sorbet.org',
cname: 'sorbet.org',
baseUrl: '/',
editUrl: 'https://github.com/sorbet/sorbet/edit/master/website/docs/',
// Used for publishing and more
projectName: 'sorbet',
organizationName: 'stripe',
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
// 'adopting' and 'overview' are in the same top-level entry in sidebars.json,
// so both tabs on mobile would get highlighted. Using the 'href:' attribute
// for "Get started" means that only the "Docs" tab will ever be active.
{label: 'Get started', href: '/docs/adopting'},
{label: 'Docs', doc: 'overview'},
{label: 'Try', href: 'https://sorbet.run'},
{label: 'Community', href: '/en/community'},
{label: 'GitHub', href: 'https://github.com/sorbet/sorbet'},
{blog: true, label: 'Blog'},
],
customDocsPath: 'website/docs',
// If you have users set above, you add it here:
users,
// path to images for header/footer
headerIcon: 'img/sorbet-logo-white-sparkles.svg',
footerIcon: 'img/sorbet-logo-purple-sparkles.svg',
favicon: 'img/favicon.ico',
/* Colors for website */
colors: {
primaryColor: '#4f4397', // --sorbet-purple-2
secondaryColor: '#4f4397', // --sorbet-purple-2
},
markdownOptions: {
typographer: true,
quotes: '“”‘’',
},
// Custom fonts for website
// fonts: {
// myFont: [
// "Times New Roman",
// "Serif"
// ],
// myOtherFont: [
// "-apple-system",
// "system-ui"
// ]
// },
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
copyright: `© ${new Date().getFullYear()} Stripe`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks.
theme: 'default',
},
// Add custom scripts here that would be placed in <script> tags.
scripts: [],
// Put Table of Contents on the right side of the page
onPageNav: 'separate',
// No .html extensions for paths.
cleanUrl: true,
// Open Graph and Twitter card images.
// (these images can't be SVGs)
ogImage: 'img/sorbet-logo-card@2x.png',
twitterImage: 'img/sorbet-logo-card@2x.png',
// Show documentation's last contributor's name.
// enableUpdateBy: true,
// Show documentation's last update time.
// enableUpdateTime: true,
algolia: {
apiKey: 'fa1ec885ab70787d636759b88e509b92',
// This name must match the index name here:
// https://github.com/algolia/docsearch-configs/blob/master/configs/stripe_sorbet.json
indexName: 'stripe_sorbet',
algoliaOptions: {}, // Optional, if provided by Algolia
},
gaTrackingId: 'UA-119877071-2',
};
module.exports = siteConfig;