-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocusaurus.config.js
64 lines (64 loc) · 1.54 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
module.exports = {
title: 'Lucia',
tagline: '3kb library for tiny web apps',
url: 'https://lucia.js.org',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/logo.ico',
organizationName: 'lucialand',
projectName: 'lucia-docs',
themeConfig: {
prism: {
theme: require('prism-react-renderer/themes/vsDark'),
},
navbar: {
title: 'Lucia',
logo: {
alt: 'Lucia Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'docs/fundementals/installation',
activeBasePath: 'docs',
label: 'Installation',
position: 'right',
},
{
href: 'https://github.com/aidenybai/lucia/discussions',
label: 'Discussions',
position: 'right',
},
{
href: 'https://github.com/aidenybai/lucia',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
copyright: `
<small>Copyright © 2020-${new Date().getFullYear()} Aiden Bai.<br>
Fiscally sponsored by The Hack Foundation.<br>
Nonprofit EIN: 81-2908499.</small>`,
},
algolia: {
apiKey: '005d225d1319cf1f39881d336adb99e5',
indexName: 'lucia',
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/lucialand/lucia-docs/edit/main/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};