-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
137 lines (137 loc) · 3.67 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
module.exports = {
title: 'Cafe',
tagline: 'Effectively, First Prototype Based Programming Language on JVM.',
url: 'https://www.cafe-lang.tech',
baseUrl: '/cafe-docs/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.svg',
organizationName: 'cafe-jvm-lang', // Usually your GitHub org/user name.
projectName: 'cafe-docs', // Usually your repo name.
themeConfig: {
image: 'favicon-32x32.png',
announcementBar: {
id: 'star_us', // Any value that will identify this message.
content:
'If you like Cafe, please give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/cafe-jvm-lang/cafe">GitHub</a> 🎉!',
backgroundColor: '#79afaafc', // Defaults to `#fff`.
textColor: '#091E42', // Defaults to `#000`.
isCloseable: true, // Defaults to `true`.
},
colorMode: {
defaultMode: 'dark',
},
algolia: {
apiKey: 'fe4db14215eb5761fe2eb059c7a7928c',
indexName: 'cafe-lang',
},
navbar: {
title: '',
logo: {
alt: 'Cafe',
src: '/img/black_logo.svg',
srcDark: '/img/white_logo.svg',
},
items: [
{
label: 'Docs',
position: 'left',
items: [
{
label: 'Let\'s Start',
to: '/docs/quick-start'
},
{
label: 'The Basics',
to: '/docs/fundamentals/'
},
{
label: 'Advanced Guide',
to: '/docs/advanced/'
}
]
},
{
href: 'https://github.com/cafe-jvm-lang/cafe',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'DOCS',
items: [
{
label: "Let's Start",
to: '/docs/quick-start',
},
{
label: 'Cafe Fundamentals',
to: '/docs/fundamentals/',
},
{
label: 'Cafe Advanced',
to: '/docs/advanced/',
},
],
},
{
title: 'COMMUNITY',
items: [
{
label: 'Ask for a Feature?',
href: 'https://gitter.im/cafe-jvm-lang/cafe-lang',
},
{
label: "Want to share feedback on website? ",
href: 'https://gitter.im/cafe-jvm-lang/cafe-doc'
},
],
},
{
title: 'FIND US',
items: [
{
label: 'GitHub',
href: 'https://github.com/cafe-jvm-lang/cafe',
},
{
label: 'Gitter',
href: 'https://gitter.im/cafe-jvm-lang/cafe-lang',
},
{
label: 'Talk to Admin',
href: 'mailto:admin@cafe-lang.tech'
}
],
},
],
copyright: `<br /> Developed with ❤️ in India | Copyright © ${new Date().getFullYear()} Cafe, Inc.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/cafe-jvm-lang/cafe-docs/tree/master/',
},
// blog: {
// showReadingTime: true,
// // Please change this to your repo.
// editUrl:
// 'https://github.com/cafe-jvm-lang/cafe-docs/blog/',
// },
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};