forked from hacs/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
51 lines (50 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
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
title: 'HACS',
tagline: 'Home Assistant Community Store',
url: 'https://hacs.xyz',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'HACS',
projectName: 'hacs',
themeConfig: {
algolia: {
apiKey: 'ae98e104dc1572a7e897b97951c756a5',
indexName: 'hacs',
},
image: "img/hacs-logo.png",
description: "HACS gives you a powerful UI to handle downloads of custom needs.",
navbar: {
title: 'HACS',
links: [
{ to: 'docs/installation/prerequisites', label: 'Installation', position: 'left' },
{ to: 'docs/configuration/start', label: 'Configuration', position: 'left' },
{ to: 'docs/basic/getting_started', label: 'Usage', position: 'left' },
{ to: 'docs/developer/start', label: 'Developer docs', position: 'right' },
{ to: 'docs/faq/what', label: 'FAQ', position: 'right' },
{ to: 'help', label: 'Help', position: 'right' },
],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
editUrl: 'https://github.com/hacs/documentation/edit/master/documentation/',
path: './documentation',
sidebarPath: require.resolve('./sidebars.js'),
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};