Skip to content

Commit a143ebb

Browse files
committed
Update mkdocs.yml
1 parent eeb9803 commit a143ebb

File tree

1 file changed

+50
-266
lines changed

1 file changed

+50
-266
lines changed

mkdocs.yml

Lines changed: 50 additions & 266 deletions
Original file line numberDiff line numberDiff line change
@@ -7,113 +7,54 @@ site_author: SparkFun Electronics
77
repo_url: https://github.com/sparkfun/SparkFun_RTK_Torch
88
repo_name: sparkfun/SparkFun_RTK_Torch
99

10-
copyright:
11-
Copyright 2024 - <a href="https://www.sparkfun.com/" target="_blank" rel="noopener">SparkFun Electronics&#174;</a><br>
12-
<a href="https://goo.gl/maps/vkstCpQZW6jZMjzYA" target="_blank" rel="noopener">6333 Dry Creek Parkway, Niwot, Colorado 80503</a>
13-
14-
# Default edit/view actions to "main" branch, instead of "master"
15-
edit_uri: blob/main/docs/
16-
17-
18-
# Configuration for webpage theme
1910
theme:
20-
# Theme: https://squidfunk.github.io/mkdocs-material/
2111
name: material
22-
custom_dir: overrides # Personalized changes to the theme
23-
24-
# Icon in Browser Tab (must be a square image - i.e. 32x32 pixels)
25-
favicon: assets/img/sfe_logo_sq.png
26-
27-
# Page Font
12+
custom_dir: docs/overrides
13+
logo: img/Icons/sfe_logo_sm.png
14+
palette:
15+
primary: grey
16+
accent: red
2817
font:
2918
text: Roboto
3019
code: Roboto Mono
31-
32-
33-
# Features to Include (ref. theme documentation)
3420
features:
35-
# Enable the copy button on code blocks
36-
- content.code.copy
37-
38-
# Enable annotations in code blocks
3921
- content.code.annotate
4022

4123
# Enable "view source" and "edit this page" buttons
4224
- content.action.edit
43-
# - content.action.view
44-
- content.tooltips
45-
46-
# Enable Navigation buttons in the footer (i.e. previous/next)
47-
- navigation.footer
4825

49-
# Enables anchor tracking (updates page URL with the section the user is on)
26+
# Enables anchor tracking (updates page url with the section user is on)
5027
# i.e. https://docs.sparkfun.com/<page link>/#<sub-section>
5128
- navigation.tracking
52-
29+
- navigation.tabs.sticky
30+
5331
# Enables tabs for navigating the website
54-
- navigation.tabs
55-
32+
# - navigation.tabs
5633
# Keeps tabs visible in the header when scrolling
57-
- navigation.tabs.sticky
58-
34+
#- navigation.tabs.sticky
35+
5936
# Adds pop-up button just below the header (when the user starts to scroll up)
6037
# Allows users to easily jump to the beginning of the page
6138
- navigation.top
6239

63-
# Renders path for page navigation at the top of the page (makes page navigation more mobile friendly)
40+
# Renders path for page navigation at top of the page (makes page navigation more mobile friendly)
6441
- navigation.path
6542

66-
# Enables instant previews globally, for all internal links
67-
- navigation.instant.preview
68-
69-
70-
# Adds light/dark theme to the webpage
71-
palette:
72-
# Palette toggle for automatic mode
73-
- media: "(prefers-color-scheme)"
74-
primary: grey
75-
accent: red
76-
toggle:
77-
icon: material/brightness-auto
78-
name: Switch to dark mode
7943

80-
# Palette toggle for light mode
81-
- media: "(prefers-color-scheme: light)"
82-
primary: grey
83-
accent: red
84-
scheme: default
85-
toggle:
86-
icon: material/brightness-7
87-
name: Switch to system preference
88-
89-
# Palette toggle for dark mode
90-
- media: "(prefers-color-scheme: dark)"
91-
primary: grey
92-
accent: red
93-
scheme: slate
94-
toggle:
95-
icon: material/weather-night
96-
name: Switch to light mode
97-
98-
99-
# Configures icons
44+
# Icon in Browser Tab (must be square img - i.e. 32x32 pixels)
45+
favicon: img/Icons/sfe_logo_sq.png
46+
10047
icon:
101-
# Sets homepage icon
102-
logo: sfe-logo
103-
104-
# Sets repo icon to GitHub icon
10548
repo: fontawesome/brands/github
106-
107-
# Sets icons for "view source" (commented out) and "edit this page" buttons
108-
edit: material/file-document-edit-outline
109-
# view: material/file-code-outline
11049

111-
# Admonition Icons (callout boxes)
50+
# Sets icon for "edit this page" buttons
51+
edit: material/file-document-edit-outline
52+
11253
admonition:
11354
note: octicons/tag-16
11455
abstract: octicons/checklist-16
11556
info: octicons/info-16
116-
tip: simple/sparkfun
57+
tip: octicons/squirrel-16
11758
success: octicons/check-16
11859
question: octicons/question-16
11960
warning: octicons/alert-16
@@ -122,194 +63,56 @@ theme:
12263
bug: octicons/bug-16
12364
example: octicons/beaker-16
12465
quote: octicons/quote-16
125-
# Add custom admonitions
126-
github: simple/github
127-
arduino: simple/arduino
128-
python: simple/python
129-
code: fontawesome/regular/file-code
130-
terminal: octicons/terminal-16
131-
serial: fontawesome/solid/display
132-
hot: material/fire-alert
133-
# Permalink icon
134-
link: octicons/link-16
13566

136-
137-
# Included MkDocs plugins
138-
# Add the installation of any new plugins to the ./github/workflows/mkdocs.yml file also
13967
plugins:
140-
# Default search plugin
14168
- search
142-
143-
# Allows formatting (code block, icons, etc.) in headings and titles
144-
- typeset
145-
146-
# Redirects page navigation
147-
- redirects:
148-
redirect_maps:
149-
'index.md': 'introduction.md'
150-
151-
# Enables improved security for external links
152-
- privacy:
153-
# Disables cache mechanism, so that external assets can be updated during rebuilds
154-
cache: false
155-
156-
# # Allows for external assets to be used
157-
# assets: true
158-
# assets_fetch: true
159-
160-
# Provide domains for assets that are retrieved from external sites
161-
assets_include:
162-
- https://docs.sparkfun.com/*
163-
164-
# External links open in a new tab
165-
links_attr_map:
166-
target: _blank
167-
links_noopener: true
168-
169-
# Optimizes media files (*.png and *.jpg)
170-
- optimize:
171-
# Specify directory; otherwise, multiple instances are created (.cache/plugins and .cache/plugin)
172-
cache_dir: .cache/plugins/optimize
173-
174-
# Default values (from auto-complete)
175-
# ------------------------------
176-
# enabled: true
177-
# cache: true
178-
# cache_dir: .cache/plugins/optimize
179-
# optimize_png: true
180-
# optimize_png_speed: 4
181-
# optimize_png_strip: true
182-
# optimize_jpg: true
183-
# optimize_jpg_quality: 60
184-
# optimize_jpg_progressive: true
185-
# print_gain: true
186-
# print_gain_summary: true
187-
188-
189-
# Add revision date
190-
- git-revision-date-localized:
191-
enable_creation_date: true
192-
type: timeago
193-
194-
# Add git committers at the bottom of the page
195-
- git-committers:
196-
repository: sparkfun/SparkFun_RTK_Torch
197-
branch: main
198-
199-
# Add git authors at the bottom of the page
200-
- git-authors
201-
202-
# Enables use of Git submodules and larger code base
20369
- monorepo
20470

71+
#Generates PDF
72+
- with-pdf:
73+
copyright: SparkFun Electronics - 2023
74+
cover_subtitle: Simple and Cost Effective High-Precision Navigation
75+
output_path: pdf/SparkFun_RTK_Everywhere_User_Manual.pdf
76+
author: This PDF is automatically generated. See https://docs.sparkfun.com/SparkFun_RTK_Everywhere_Firmware/ for the latest version.
77+
toc_title: Table Of Contents
78+
#cover_title: TITLE TEXT
79+
#heading_shift: false
80+
#toc_level: 3
81+
#ordered_chapter_level: 2
82+
#exclude_pages:
83+
# - 'bugs/'
84+
# - 'appendix/contribute/'
85+
#convert_iframe:
86+
# - src: IFRAME SRC
87+
# img: POSTER IMAGE URL
88+
# text: ALTERNATE TEXT
89+
# - src: ...
90+
#two_columns_level: 3
91+
#debug_html: true
92+
#show_anchors: true
93+
#verbose: true
94+
95+
copyright:
96+
Copyright 2023 - <a href="https://www.sparkfun.com/" target="_blank" rel="noopener">SparkFun Electronics&#174;<br>
97+
<a href="https://goo.gl/maps/vkstCpQZW6jZMjzYA" target="_blank" rel="noopener">6333 Dry Creek Parkway, Niwot, Colorado 80503</a>
20598

206-
# Included Markdown extensions
20799
markdown_extensions:
208-
# Adds support for syntax highlighting of code blocks
209100
- pymdownx.highlight:
210101
anchor_linenums: true
211-
212-
# Adds support for syntax highlighting of inline code blocks
213102
- pymdownx.inlinehilite
214-
215-
# Adds the ability to embed content from arbitrary files
216-
- pymdownx.snippets:
217-
base_path: ['.', './docs']
218-
url_download: true
219-
url_max_size: 0
220-
url_timeout: 0
221-
url_request_headers: {}
222-
dedent_subsections: True
223-
224-
# Adds support for glossary of abbreviations
225-
auto_append:
226-
- glossary-sparkfun.md
227-
# - https://raw.githubusercontent.com/santaimpersonator/git-test/main/glossary-sparkfun.md
228-
- glossary-local.md
229-
230-
# Allows embedding of code blocks in other elements
231-
- pymdownx.superfences:
232-
# Allows the use of diagrams
233-
custom_fences:
234-
- name: mermaid
235-
class: mermaid
236-
format: !!python/name:pymdownx.superfences.fence_code_format
237-
238-
# Allows the use of tabs in the document
239-
- pymdownx.tabbed:
240-
alternate_style: true
241-
slugify: !!python/object/apply:pymdownx.slugs.slugify
242-
kwds:
243-
case: lower
244-
245-
# Allows the use of Markup syntax
103+
- pymdownx.snippets
104+
- pymdownx.superfences
105+
- pymdownx.details
246106
- pymdownx.betterem:
247107
smart_enable: all
248-
249-
# Allows the use of in-text highlighting in Markdown syntax
250108
- pymdownx.mark
251-
- pymdownx.critic
252-
253-
# Allows the use of superscript/subscript formatting in Markdown syntax
254109
- pymdownx.caret
255-
256-
# Allows the use of strikeout formatting in Markdown syntax
257110
- pymdownx.tilde
258-
259-
# Allows the use of keyboard button formatting in Markdown syntax
260-
- pymdownx.keys
261-
262-
# Allows the use of tables in Markdown syntax
263111
- tables
264-
265-
# Allows the use of admonition/call-out boxes
266112
- admonition
267113

268-
# Allows admonition extension to collapse the call-out boxes
269-
- pymdownx.details
270-
271-
# Allows the use of Markdown syntax in HTML elements
272-
- md_in_html
273-
274-
# Allows the use of HTML syntax in Markdown elements
275-
- attr_list
276-
277-
# Allows the use of definition list formatting in Markdown syntax
278-
- def_list
279-
280-
# Allows the use of footnotes
281-
- footnotes
282-
283-
# Allows the use of abbreviations
284-
- abbr
285-
286-
# Allows the use of bundled and custom icons/emojis
287-
- pymdownx.emoji:
288-
emoji_index: !!python/name:material.extensions.emoji.twemoji
289-
emoji_generator: !!python/name:material.extensions.emoji.to_svg
290-
options:
291-
custom_icons:
292-
- overrides/.icons
293-
294-
# Allows for the rendering of block and inline-block equations
295-
- pymdownx.arithmatex:
296-
generic: true
297-
298-
# Adds permalink icon to headers
299-
- toc:
300-
permalink: ''
301-
# Link: &#x1F517; 🔗
302-
# Chain: &#x26D3; ⛓
303-
304-
305114
extra:
306-
# Configures the hyperlink for the logo in the header
307-
homepage: https://www.sparkfun.com
308-
309-
# Configures social icons in the footer
310115
social:
311-
- icon: sfe-logo
312-
link: https://www.sparkfun.com/products/24243
313116
- icon: fontawesome/brands/youtube
314117
link: https://www.youtube.com/sparkfun
315118
- icon: fontawesome/brands/instagram
@@ -318,28 +121,9 @@ extra:
318121
link: https://www.github.com/sparkfun
319122
- icon: fontawesome/brands/facebook
320123
link: https://www.facebook.com/SparkFun
321-
- icon: fontawesome/brands/x-twitter
124+
- icon: fontawesome/brands/twitter
322125
link: https://twitter.com/sparkfun
323126

324-
# Google Analytics
325-
analytics:
326-
provider: google
327-
property: G-7Y7EYCZVC1
328-
329-
330-
# Configures styling for the webpage
331-
extra_css:
332-
- stylesheet/extra.css
333-
334-
335-
# Enables support for rendering block and inline block equations through MathJax
336-
extra_javascript:
337-
# Enables support for rendering block and inline block equations through MathJax
338-
- javascript/mathjax.js
339-
- https://polyfill.io/v3/polyfill.min.js?features=es6
340-
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
341-
342-
343127
# Configures webpage navigation
344128
nav:
345129
- Getting Started:

0 commit comments

Comments
 (0)