-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
64 lines (63 loc) · 1.61 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: 'Analogue',
tagline: 'Documentation',
url: 'https://analogue.com',
baseUrl: '/',
favicon: 'img/favicon.png',
organizationName: 'analogueapp', // Usually your GitHub org/user name.
projectName: 'analogue', // Usually your repo name.
themeConfig: {
// TODO add algolia search
// algolia: {
// apiKey: '766d56f13dd1e82f43253559b7c86636',
// indexName: 'supabase',
// },
defaultDarkMode: true,
darkMode: true,
image: 'https://analogue.onrender.com/img/analogue-og.png',
navbar: {
hideOnScroll: true,
logo: {
alt: 'Analogue',
src: 'img/logo_icon.png',
href: 'https://analogue.com/about'
},
links: [
{
label: 'Docs',
to: 'docs/api',
activeBasePath: 'docs',
position: 'left',
},
{
href: 'https://github.com/analogueapp',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/analogueapp/docs/edit/master/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/analogueapp/docs/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};