-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmkdocs.yml
212 lines (205 loc) · 8.84 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/docs/schema.json
site_name: iown-homecontrol™ Documentation
site_url: https://velocet.github.io/iown-homecontrol/
site_description: io-homecontrol Documentation and Implementation
site_author: velocet
repo_name: iown™
repo_url: https://github.com/velocet/iown-homecontrol/
edit_uri: blog/main/docs/ # edit/main/docs/
copyright: '© <a href="https://github.com/velocet/iown-homecontrol/">iown-homecontrol™</a>'
# site_dir: .cache/site # output folder: put in '.cache' to unclutter structure
exclude_docs: | # Files to exclude from the built site.
assets/images/patents
assets/images/README.md
assets/README.md
datasheets
firmware
parameter/database/JSON
parameter/Internald
parameter/IoHomecontrold
parameter/IoHomecontrolOVPd
parameter/OVPd
reference/SkitterIO
*.docx
*.heic
*.log
*.lua
*.module
*.pdf
*.pdn
*.psd
*.py
*.txt
!*.xlsx
*.xml
*.zip
lunr.*.min.js
!lunr.en.min.js
!lunr.multi.min.js
!lunr.stemmer.support.min.js
# draft_docs: # Draft files are available during 'mkdocs serve' but not in 'mkdocs build'.
nav:
# - Home: README.md
- Protocol:
- Layer 1: radio.md
- Layer 2: linklayer.md
- Commands: commands.md
- Parameter: parameter/README.md
- Parameter Viewer: parameter/database/README.md
- Reference:
- Devices: devices.md
- Connectivity Kit: devices/somfy/ConnectivityKit/README.md
- Somfy Izymo: devices/somfy/izymo/README.md
- Somfy Smoove: devices/somfy/Smoove/README.md
- Somfy Set&Go: devices/somfy/SetGo/README.md
- Velux Devices: devices/Velux/README.md
- Velux KLI31x: devices/Velux/KLI31x/README.md
- Velux KLR200: devices/Velux/KLR200/README.md
- Atlantic Thermor: devices/misc/AtlanticThermor/README.md
- Firmware: firmware.md
- Si446x: reference/Si446x/README.md
- CC1021: radio-cc1021.md
- Box PINs: devices/somfy/somfy-pin-to-box.md
- misc:
- RTL-SDR: radio-rtlsdr.md
- EMS2: reference/EMS2.md
plugins:
- search:
enabled: !ENV [GITHUB_ACTIONS, false]
lang: en
- social:
enabled: !ENV [GITHUB_ACTIONS, false]
cards: !ENV [GITHUB_ACTIONS, false]
cards_layout_options:
background_color: '#ABABAB'
color: '#FEFEFE'
font_family: Rubik
- git-revision-date-localized:
fallback_to_build_date: true # Fall back to (incorrect) build time when git unavailable
locale: en
type: timeago
- privacy:
enabled: !ENV [GITHUB_ACTIONS, false]
extra:
homepage: https://velocet.github.io/iown-homecontrol
# consent:
# title: ''
# description: ''
# cookies:
# analytics:
# name: Google Analytics
# checked: false
# github:
# name: GitHub
# checked: false
social:
- icon: fontawesome/brands/discord
link: https://discord.gg/MPEb7dTNdN
- icon: fontawesome/brands/telegram
link: https://t.me/iownHomecontrol
- icon: material/home
link: 'https://velocet.github.io/iown-homecontrol'
- icon: material/github
link: 'https://github.com/velocet/iown-homecontrol'
status: # ☠❌❗❕❓❔
beta: Document in beta status
WIP: Document is unfinished
❗: Document is wrong or incomplete
extra_css:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#content-area-width
- assets/stylesheets/extra.css
extra_javascript:
# https://squidfunk.github.io/mkdocs-material/reference/data-tables/
- https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js # sortable tables
- assets/javascripts/tablesort.js # sortable tables
theme:
name: material
custom_dir: scripts/mkdocs/overrides
locale: en
highlightjs: true
# logo: assets/images/logo_filled.png
favicon: assets/images/favicon.ico
font:
text: Open Sans
code: Source Code Pro
icon: # https://www.materialpalette.com/icons
edit: material/pencil
logo: material/book-open-page-variant
repo: fontawesome/brands/github
palette:
primary: grey # blue grey
accent: light blue
features:
- content.action.edit
- content.code.copy # button to copy code block to the clipboard
# - content.code.annotate # attach content to code block sections
- header.autohide # header is automatically hidden when the user scrolls past a certain threshold
# - navigation.expand # left sidebar will expand subsections by default
- navigation.footer # show footer
# attach documents to sections for overview pages. rtfm
# - navigation.indexes # NOTE: NOT toc.integrate compatible!
- navigation.instant # behave like a Single Page Application
- navigation.instant.progress # show progress indicator on slow connections
- navigation.path # render breadcrumbs above page title
- navigation.sections # combine tabs and sections. sections are rendered for level 2 nav items.
- navigation.tabs # header nav items
- navigation.tabs.sticky # header nav items
- navigation.top # back-to-top button
- navigation.tracking
- search.highlight # highlight all occurrences after following search link
- search.suggest # display the likeliest completion for the last word
- toc.follow # sidebar is automatically scrolled making active anchor always visible
- toc.integrate # TOC is always rendered as part of the navigation sidebar on the left
markdown_extensions:
# - admonition # https://squidfunk.github.io/mkdocs-material/reference/admonitions
- attr_list # HTML attributes / CSS classes for Markdown inline/block-level elements
# https://squidfunk.github.io/mkdocs-material/reference/grids/#usage
# https://squidfunk.github.io/mkdocs-material/reference/buttons/#adding-buttons
- github-callouts # needed to support GH alerts
- md_in_html # wrap MD content with HTML elements. Needed for GH collapsible section
- tables # markdown tables support
- toc:
toc_depth: 2 # toc levels to be included
permalink: false # custom headline anchor link
title: -> agenda # right navigation sidebar toc title
# - pymdownx.details # collapsible call-outs (not needed: native github support)
# - pymdownx.smartsymbols # convert characters to symbols (eg. copyright symbol)
# - pymdownx.caret # https://facelessuser.github.io/pymdown-extensions/extensions/caret/
# - pymdownx.mark # https://facelessuser.github.io/pymdown-extensions/extensions/mark/
- pymdownx.tilde # https://facelessuser.github.io/pymdown-extensions/extensions/tilde/
- pymdownx.betterem # emphasize using special characters (eg. **bold**, _italic_)
- pymdownx.saneheaders # header only valid with space after hash
- pymdownx.inlinehilite # inline code block highlighting
- pymdownx.snippets # embed files
- pymdownx.highlight: # code block highlighting with SuperFences and InlineHilite
use_pygments: true # code block highlighting during build or browser highlighter
pygments_lang_class: true # code block CSS class language identifyer
anchor_linenums: false # wrap line numbers with anchor links
auto_title: true # show code block title (``` $language title="$title")
line_spans: __span # wrap code block with span (essential for line highlighting)
linenums: false # code block line numbers
- pymdownx.superfences: # code nesting inside each other (eg. admonitions, tabs, lists)
custom_fences:
- name: mermaid # NOTE: mermaid prevents syntax highlighting!
class: mermaid # NOTE: mermaid prevents syntax highlighting!
format: !!python/name:pymdownx.superfences.fence_code_format # NOTE: mermaid prevents syntax highlighting!
- pymdownx.tasklist: # GitHub task lists
custom_checkbox: true # checkbox style with icons
clickable_checkbox: false # clickable checkboxes
validation:
nav:
# Following pages exist in the 'docs' directory, but is not included in 'nav'.
omitted_files: info
# Reference '...' is included in 'nav', which is not found in the documentation.
not_found: warn
# Absolute path to '...' is included in the 'nav' configuration, which presumably points to an external resource.
absolute_links: warn
links:
# Doc file '...' contains link ..., but the target is not found among documentation files.
not_found: warn
# Doc file '...' contains link ..., but there is no such anchor on this page.
anchors: info
# Doc file '...' contains absolute link '...', it was left as is. Did you mean '...'?
absolute_links: info
# Doc file '...' contains unrecognized link '...', it was left as is. Did you mean '...'?
unrecognized_links: info