-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
124 lines (123 loc) · 3.27 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
const customFields = {
githubUrl: 'https://github.com/tellery/tellery',
twitterUrl: 'https://twitter.com/TelleryHQ',
contactEmail: '[email protected]',
domainUrl: 'https://tellery.io',
copyright: `Copyright © ${new Date().getFullYear()} Tellery, Inc.`,
discordInviteUrl: 'https://discord.gg/gAxqpvQUZV',
copy: {
hero: {
title: 'Analyze, report and organize\nall in one place',
subtitle:
'Tellery lets you build metrics using SQL and bring them to your team. As easy as using a document. As powerful as a data modeling tool.'
},
philosophy:
'We believe that analytic code is an asset. But most analyses, narrated in reports, decks, dashboards, notebooks are ephemeral. If we can build a tool helping people organize analysis effectively, we can free up them to focus on bigger ideas.'
}
}
const config = {
title: 'Tellery',
tagline: 'Organize your analysis for the long term',
url: customFields.domainUrl,
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/mask-icon.svg',
organizationName: 'tellery', // Usually your GitHub org/user name.
projectName: 'website', // Usually your repo name.
customFields: customFields,
themeConfig: {
gtag: {
trackingID: 'G-MEQXXGM2HZ'
},
navbar: {
title: 'Tellery',
logo: {
alt: 'My Site Logo',
src: 'img/icon.svg'
},
items: [
{
label: 'GitHub',
href: customFields.githubUrl
},
{
label: 'Docs',
href: '/docs'
},
{
label: 'Features',
href: '#features'
}
// {to: '/blog', label: 'Blog', position: 'left'},
]
},
footer: {
// copyright: customFields.copyright,
style: 'dark',
links: [
{
title: 'For Developer',
items: [
{
label: 'Documentation',
href: '/docs'
},
{
label: 'Changelog',
href: '/docs/changelog'
},
{
label: 'GitHub',
href: customFields.githubUrl
}
]
},
{
title: 'Community',
items: [
{
label: 'Support',
href: `mailto:${customFields.contactEmail}`
},
{
label: 'Discord',
href: customFields.discordInviteUrl
},
{
label: 'Twitter',
href: customFields.twitterUrl
}
]
}
]
},
prism: {
theme: require('prism-react-renderer/themes/nightOwl'),
additionalLanguages: ['bash']
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/tellery/website/edit/master/'
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl: 'https://github.com/tellery/website/edit/master/'
},
theme: {
customCss: require.resolve('./src/css/custom.css')
}
}
]
]
}
module.exports = {
...config
}