forked from automatedom/Rythm-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
49 lines (49 loc) · 1.16 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
module.exports = {
plugins: [require.resolve('docusaurus-lunr-search')],
title: 'Rythm',
tagline: 'Docs',
url: 'https://rythm.fm',
baseUrl: '/docs/',
favicon: 'img/favicon.ico',
organizationName: 'Rythm', // Usually your GitHub org/user name.
projectName: 'Rythm-documentation', // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: 'dark',
},
sidebarCollapsible: true,
hideableSidebar: true,
navbar: {
title: 'Docs',
logo: {
alt: 'rythm-logo',
src: 'img/logo.svg',
},
items: [],
},
footer: {
style: 'dark',
links: [],
copyright: `Copyright © ${new Date().getFullYear()} Rythm. Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/Rythm-bot/docs/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css')
},
sitemap: {
changefreq: 'monthly',
priority: 0.6,
},
},
],
],
};