-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
mkdocs.yml
216 lines (213 loc) · 5.79 KB
/
mkdocs.yml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
site_name: HACS
site_description: HACS gives you a powerful UI to handle downloads of all your custom needs
site_url: !ENV [SITE_URL, CF_PAGES_URL, "https://hacs.xyz"]
repo_url: https://github.com/hacs/integration
repo_name: hacs/integration
remote_branch: !ENV [CF_PAGES_BRANCH, "next"]
docs_dir: source
site_dir: build
use_directory_urls: true
strict: true
validation:
links:
absolute_links: relative_to_docs
anchors: warn
unrecognized_links: warn
not_found: warn
nav:
omitted_files: warn
not_found: warn
absolute_links: relative_to_docs
theme:
name: material
language: en
custom_dir: source/overrides
logo: assets/images/hacs_logo.png
favicon: assets/images/hacs_logo.png
font:
code: "Consolas"
text: "Instrument Sans"
features:
- announce.dismiss
- content.code.copy
- content.footnote.tooltips
- content.tooltips
- navigation.indexes
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.path
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- toc.integrate
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
toggle:
icon: material/weather-night
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/weather-sunny
name: Switch to system preference
icon:
annotation: material/information
plugins:
- privacy
- macros:
on_undefined: strict
include_dir: source/includes
module_name: source/macros
- search:
lang: en
- social:
cards: true
cards_layout_options:
background_color: "#41BDF5"
- tags
hooks:
- source/hooks/html_tag_modifier.py
- source/hooks/shortcodes.py
extra:
resources:
- link: https://github.com/hacs/.github/blob/master/CODE_OF_CONDUCT.md
title: Code of Conduct
icon: fontawesome/solid/scale-balanced
- link: mailto:[email protected]
title: Contact (no support!)
icon: fontawesome/solid/at
- link: https://squidfunk.github.io/mkdocs-material/
title: Made with Material for MkDocs
icon: logo
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
normalize_issue_symbols: true
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
auto_append:
- source/includes/abbreviations.md
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_css:
- assets/stylesheets/extra.css
not_in_nav: |
includes/*
glossary.md
assets/images/screenshots/README.md
nav:
- Home: index.md
- Use:
- docs/use/index.md
- Download HACS:
- docs/use/download/prerequisites.md
- docs/use/download/download.md
- Configure HACS:
- docs/use/configuration/basic.md
- docs/use/configuration/options.md
- Repositories:
- docs/use/repositories/dashboard.md
- Repository types:
- docs/use/repositories/type/index.md
- docs/use/repositories/type/appdaemon.md
- docs/use/repositories/type/dashboard.md
- docs/use/repositories/type/integration.md
- docs/use/repositories/type/python_script.md
- docs/use/repositories/type/template.md
- docs/use/repositories/type/theme.md
- Entities:
- docs/use/entities/update.md
- docs/use/entities/switch.md
- docs/use/data.md
- docs/use/my.md
- Troubleshooting:
- docs/use/troubleshooting/diagnostics.md
- docs/use/troubleshooting/logs.md
- docs/use/troubleshooting/hacs_update_broke_my_hacs.md
- docs/use/troubleshooting/ha_update_broke_my_hacs.md
- docs/use/update.md
- docs/use/remove.md
- Publish:
- docs/publish/index.md
- docs/publish/start.md
- docs/publish/include.md
- docs/publish/action.md
- docs/publish/appdaemon.md
- docs/publish/integration.md
- docs/publish/plugin.md
- docs/publish/python_script.md
- docs/publish/template.md
- docs/publish/theme.md
- docs/publish/remove.md
- Contribute:
- docs/contribute/index.md
- docs/contribute/backend.md
- docs/contribute/devcontainer.md
- docs/contribute/documentation.md
- docs/contribute/frontend.md
- docs/contribute/translation.md
- docs/contribute/maintainer.md
- FAQ:
- docs/faq/index.md
- docs/faq/addons.md
- docs/faq/custom_repositories.md
- docs/faq/data_sources.md
- docs/faq/existing_elements.md
- docs/faq/github_account.md
- docs/faq/ha_update.md
- docs/faq/hassio_only.md
- docs/faq/highlights.md
- docs/faq/other_git_providers.md
- docs/faq/private_repositories.md
- docs/faq/download.md
- Help:
- docs/help/index.md
- docs/help/issues.md