forked from home-assistant/companion.home-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
135 lines (135 loc) · 3.83 KB
/
docusaurus.config.js
File metadata and controls
135 lines (135 loc) · 3.83 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
module.exports = {
title: 'Home Assistant Companion Docs',
tagline: 'Everything you need to know to use Home Assistant Companion',
url: 'https://companion.home-assistant.io',
baseUrl: '/',
favicon: 'img/brand/favicon.png',
organizationName: 'home-assistant', // Usually your GitHub org/user name.
projectName: 'companion.home-assistant', // Usually your repo name.
themeConfig: {
navbar: {
title: 'Companion Apps',
logo: {
alt: 'Home Assistant',
src: 'img/brand/logo.svg',
srcDark: 'img/brand/logo.svg',
},
items: [
{ to: '/docs/getting_started', label: 'Docs', position: 'left' },
{ to: '/download', label: 'Download', position: 'left' },
{ to: '/docs/gallery/android', label: 'Gallery', position: 'left' },
{ to: '/docs/troubleshooting/more-help', label: 'Support', position: 'left' },
{
href: 'https://www.github.com/home-assistant/iOS',
label: 'GitHub (iOS)',
position: 'right',
},
{
href: 'https://www.github.com/home-assistant/android',
label: 'GitHub (Android)',
position: 'right',
},
],
},
footer: {
logo: {
alt: "Home Assistant",
src: "img/brand/logo-white.svg",
height: "30px",
href: "https://www.home-assistant.io",
},
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'Forum',
href: 'https://community.home-assistant.io/c/mobile-apps/40'
},
{
label: 'Discord',
href: 'https://discord.com/channels/330944238910963714/1284965926336335993',
},
{
label: 'GitHub',
href: 'https://github.com/home-assistant',
},
],
},
{
title: 'Social',
items: [
{
label: 'YouTube',
href: 'https://youtube.com/@home_assistant',
},
{
label: 'Reddit',
href: 'https://reddit.com/r/homeassistant',
},
{
label: 'GitHub',
href: 'https://github.com/home-assistant',
},
{
label: 'Mastodon',
href: 'https://fosstodon.org/@homeassistant',
},
{
label: 'Bluesky',
href: 'https://bsky.app/profile/home-assistant.io',
},
{
label: 'X (Twitter)',
href: 'https://x.com/home_assistant',
},
{
label: 'Facebook',
href: 'https://www.facebook.com/homeassistantio/',
},
{
label: 'Instagram',
href: 'https://www.instagram.com/homeassistant/',
},
{
label: 'LinkedIn',
href: 'https://www.linkedin.com/company/home-assistant',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Home Assistant. Built with Docusaurus.`,
},
image: 'img/default-social.png'
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/home-assistant/companion.home-assistant/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'UA-57927901-7'
},
},
],
],
plugins: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
hashed: true,
indexDocs: true,
indexBlog: true,
highlightSearchTermsOnTargetPage: true,
},
],
],
};