-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
304 lines (230 loc) · 8.3 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
# Documentation page information
site_name: Hookup Guide - SparkFun IoT Brushless Motor Driver
site_description: A hookup guide for the IoT BLDC Motor Driver
site_url: https://sparkfun.github.io/SparkFun_IoT_Brushless_Motor_Driver
site_author: SparkFun Electronics
repo_url: https://github.com/sparkfun/SparkFun_IoT_Brushless_Motor_Driver
repo_name: sparkfun/SparkFun_IoT_Brushless_Motor_Driver
copyright:
Copyright 2023 - <a href="https://www.sparkfun.com/" target="_blank" rel="noopener">SparkFun Electronics®<br>
<a href="https://goo.gl/maps/vkstCpQZW6jZMjzYA" target="_blank" rel="noopener">6333 Dry Creek Parkway, Niwot, Colorado 80503</a>
# Default edit/view actions to "main" branch, instead of "master"
edit_uri: blob/main/docs/
# Configuration for webpage theme
theme:
# Theme: https://squidfunk.github.io/mkdocs-material/
name: material
# Icon in Browser Tab (must be square img - i.e. 32x32 pixels)
favicon: img/sfe_logo_sq.png
# Page Font
font:
text: Roboto
code: Roboto Mono
# Features to Include (ref. theme documentation)
features:
# Enable copy button on code blocks
- content.code.copy
# Enable annotations in code blocks
- content.code.annotate
# Enable "view source" and "edit this page" buttons
- content.action.edit
# - content.action.view
# Enable Navigation buttons in the footer (i.e. previous/next)
- navigation.footer
# Enables anchor tracking (updates page url with the section user is on)
# i.e. https://docs.sparkfun.com/<page link>/#<sub-section>
- navigation.tracking
# Enables tabs for navigating the website
- navigation.tabs
# Keeps tabs visible in the header when scrolling
- navigation.tabs.sticky
# Adds pop-up button just below the header (when the user starts to scroll up)
# Allows users to easily jump to the beginning of the page
- navigation.top
# Renders path for page navigation at top of the page (makes page navigation more mobile friendly)
- navigation.path
# Adds light/dark theme to the webpage
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
primary: grey
accent: red
toggle:
icon: material/brightness-auto
name: Switch to dark mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
primary: grey
accent: red
scheme: default
toggle:
icon: material/brightness-7
name: Switch to system preference
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
primary: grey
accent: red
scheme: slate
toggle:
icon: material/weather-night
name: Switch to light mode
# Configures icons
icon:
# Sets homepage icon
logo: sfe-logo
# Sets repo icon to GitHub icon
repo: fontawesome/brands/github
# Sets icons for "view source" (commented out) and "edit this page" buttons
edit: material/file-document-edit-outline
# view: material/file-code-outline
# Admonition Icons (callout boxes)
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: simple/sparkfun
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
# Add custom admonitions
github: simple/github
arduino: simple/arduino
python: simple/python
code: fontawesome/regular/file-code
terminal: octicons/terminal-16
serial: fontawesome/solid/display
hot: material/fire-alert
# Permalink icon
link: octicons/link-16
# Adds overrides for icons, html, etc.
custom_dir: overrides
# Included MkDocs plugins
# Add the installation of any new plugins to the ./github/workflows/mkdocs.yml file also
plugins:
# Default search plugin
- search
# Allows formatting (code block, icons, etc.) in headings and titles
- typeset
# Redirects page navigation
- redirects:
redirect_maps:
'index.md': 'introduction.md'
# # Add revision date
# - git-revision-date-localized:
# enable_creation_date: true
# type: timeago
# # Add git committers at bottom of the page
# - git-committers:
# repository: sparkfun/SparkFun_IoT_Brushless_Motor_Driver
# branch: main
# # Add git authors at bottom of the page
# - git-authors
# Enables use of Git submodules and larger code base
- monorepo
# Included Markdown extensions
markdown_extensions:
# Adds support for syntax highlighting of code blocks
- pymdownx.highlight:
anchor_linenums: true
# Adds support for syntax highlighting of inline code blocks
- pymdownx.inlinehilite
# Adds the ability to embed content from arbitrary files
- pymdownx.snippets:
# base_path: ['./docs']
url_download: true
url_max_size: 0
url_timeout: 0
url_request_headers: {}
# Allows embedding of code blocks in other elements
- pymdownx.superfences
# Allows admonition extension to collapse the call-out boxes
- pymdownx.details
# Allows the use of tabs in the document
- pymdownx.tabbed:
alternate_style: true
# Allows the use of Markup syntax
- pymdownx.betterem:
smart_enable: all
# Allows the use of in-text highlighting in Markdown syntax
- pymdownx.mark
# Allows the use of superscript/subscript formatting in Markdown syntax
- pymdownx.caret
# Allows the use of strikeout formatting in Markdown syntax
- pymdownx.tilde
# Allows the use of keyboard button formatting in Markdown syntax
- pymdownx.keys
# Allows the use of tables in Markdown syntax
- tables
# Allows the use of admonition/call-out boxes
- admonition
# Allows the use of Markdown syntax in HTML elements
- md_in_html
# Allows the use of HTML syntax in Markdown elements
- attr_list
# Allows the use of definition list formatting in Markdown syntax
- def_list
# Allows the use of bundled and custom icons and emojis
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
options:
custom_icons:
- overrides/.icons
# Allows for rendering of block and inline block equations
- pymdownx.arithmatex:
generic: true
# Adds permalink icon to headers
- toc:
permalink: ''
# Link: 🔗 🔗
# Chain: ⛓ ⛓
extra:
# Configures the hyperlink for the logo in the header
homepage: https://www.sparkfun.com
# Configures social icons in the footer
social:
- icon: sfe-logo
link: https://www.sparkfun.com/products/22132
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/sparkfun
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/sparkfun
- icon: fontawesome/brands/github
link: https://www.github.com/sparkfun
- icon: fontawesome/brands/facebook
link: https://www.facebook.com/SparkFun
- icon: fontawesome/brands/x-twitter
link: https://twitter.com/sparkfun
# Configures styling for PDF rendering and webpage layout
extra_css:
- stylesheet/extra.css
# Enables support for rendering block and inline block equations through MathJax
extra_javascript:
# Enables support for rendering block and inline block equations through MathJax
- javascript/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# Configures webpage navigation
nav:
- Getting Started:
- Introduction: introduction.md
- Hardware Overview: hardware_overview.md
- Hardware Assembly: hardware_assembly.md
- Software - Arduino IDE:
- Installation & Setup: software_overview.md
- Example - Basic: example-BLDC.md
# - Example - FOC Algorithm: example-FOC-position.md
# - Example - FOC Algorithm: example-FOC-current.md
- Example - Factory Reset: example-factory.md
- Resources:
- Hardware Resources: resources.md
- Background Information: background.md
- Support:
- Troubleshooting Tips: troubleshooting_tips.md
- Submit Issues: github/file_issue.md
- Contribute: github/contribute.md