-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
269 lines (232 loc) · 7.78 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
# Documentation page information
site_name: SparkFun Qwiic Power Switch Hookup Guide
site_description: A hookup guide for the SparkFun Qwiic Power Switch.
site_url: https://sparkfun.github.io/SparkFun_Qwiic_Power_Switch
site_author: SparkFun Electronics
repo_url: https://github.com/sparkfun/SparkFun_Qwiic_Power_Switch
repo_name: sparkfun/SparkFun_Qwiic_Power_Switch
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: assets/sfe_favicon.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
- navigation.tabs.sticky
# 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 stylesheets, html, etc.
custom_dir: overrides
# Included MkDocs plugins
# Add the installation of any new plugins to the ./github/workflows/mkdocs.yml file also
plugins:
- search
- typeset
- 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_Qwiic_Power_Switch
branch: main
# Add git authors at bottom of the page
- git-authors
# Enables use of Git submodules and larger code base
- monorepo
# For PDF rendering
# - with-pdf:
# author: SparkFun Electronics®
# copyright: Copyright 2023 - SparkFun Electronics®
# cover_subtitle: none
# cover_logo: img/sfe_logo_sm.png
# exclude_pages: [ "hard_copy", "single_page", "file_issue", "contribute" ]
# render_js: true
# headless_chrome_path: headless-chromium
# output_path: board_files/hookup_guide.pdf
# Included Markdown extensions
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
- pymdownx.inlinehilite
- pymdownx.snippets:
# base_path: ['./docs']
url_download: true
url_max_size: 0
url_timeout: 0
url_request_headers: {}
- pymdownx.superfences
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.mark
- pymdownx.caret
- pymdownx.tilde
- pymdownx.keys
- tables
- admonition
- md_in_html
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
options:
custom_icons:
- overrides/.icons
- pymdownx.arithmatex:
generic: true
- 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/
- 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
- icon: fontawesome/solid/cookie-bite
link: ./#__consent
name: Change cookie settings
# Configures Google Analytics
analytics:
provider: google
property: G-7Y7EYCZVC1
consent:
cookies:
analytics:
name: Google Analytics
checked: true
title: Cookie consent
description:
We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.
actions:
- accept
- manage
- reject
# 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 Hookup: hardware_hookup.md
- Setting Up Arduino: arduino_library.md
- Arduino Example: arduino_example.md
- Resources: resources.md
- Support:
- Troubleshooting: troubleshooting.md
- Submit Issues: github/file_issue.md
- Contribute: github/contribute.md