forked from home-assistant/data.home-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
72 lines (72 loc) · 1.94 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
module.exports = {
title: "Home Assistant",
tagline: "Data Science Portal",
url: "https://data.home-assistant.io",
baseUrl: "/",
favicon: "img/favicon.png",
organizationName: "home-assistant", // Usually your GitHub org/user name.
projectName: "data.home-assistant", // Usually your repo name.
themeConfig: {
navbar: {
title: "Data Science",
logo: {
alt: "Home Assistant",
src: "img/logo-pretty.svg",
},
items: [
{ to: "/docs/data", label: "Docs", position: "left" },
{ to: "/docs/quick-start", label: "Quick Start", position: "left" },
{ to: "/blog", label: "Blog", position: "left" },
],
},
footer: {
logo: {
alt: "Home Assistant",
src: "img/logo-white.svg",
href: "https://www.home-assistant.io",
},
style: "dark",
links: [
{
title: "Social",
items: [
{
label: "Blog",
to: "blog",
},
{
label: "GitHub",
href: "https://github.com/home-assistant/data.home-assistant",
},
{
label: "Twitter",
href: "https://twitter.com/hass_devs",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Home Assistant, Inc. Built with Docusaurus.`,
},
image: "img/default-social.png",
algolia: {
apiKey: "9fb6680b99f88f635b0744a4078609bf",
indexName: "data-home-assistant",
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/home-assistant/data.home-assistant/edit/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};