Skip to content

Commit 3a85bf9

Browse files
Update mkdocs.yml
Disable navigation expand - collapse section to navigate module listmore easily Disable instant preview - replace with markdown extension Enable extensions preview - more refined control version of instant previews Fix page redirect for pHAT
1 parent f291a45 commit 3a85bf9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

mkdocs.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,13 @@ theme:
6161
# Keeps tabs visible in the header when scrolling
6262
- navigation.tabs.sticky
6363

64-
# Expands all the collapsible subsections in the navigation (left) sidebar
65-
- navigation.expand
66-
6764
# Adds pop-up button just below the header (when the user starts to scroll up)
6865
# i.e. Allows users to easily jump to the beginning of the page
6966
- navigation.top
7067

7168
# Renders path for page navigation at the top of the page (makes page navigation more mobile friendly)
7269
- navigation.path
7370

74-
# Enables instant previews globally, for all internal links
75-
- navigation.instant.preview
76-
7771
# Highlights all occurrences of a search result when clicked on
7872
- search.highlight
7973

@@ -167,7 +161,7 @@ plugins:
167161
'index.md': 'system_overview.md'
168162
'SparkPNT_GNSS_Flex_Module_mosaic-X5/index.md': 'SparkPNT_GNSS_Flex_Module_mosaic-X5/hardware_overview.md'
169163
'SparkPNT_GNSS_Flex_Module_LG290P/index.md': 'SparkPNT_GNSS_Flex_Module_LG290P/hardware_overview.md'
170-
'SparkFun_GNSS_pHAT/index.md': 'SparkFun_GNSS_pHAT/hardware_overview.md'
164+
'SparkFun_GNSS_Flex_pHAT/index.md': 'SparkFun_GNSS_Flex_pHAT/hardware_overview.md'
171165

172166
# Enables improved security for external links
173167
- privacy:
@@ -261,6 +255,16 @@ markdown_extensions:
261255
# - glossary-sparkfun.md
262256
# - glossary-local.md
263257

258+
# Enables page previews
259+
- material.extensions.preview:
260+
configurations:
261+
- targets:
262+
exclude:
263+
- modules.md
264+
- carriers.md
265+
- resources.md
266+
- troubleshooting_tips.md
267+
264268
# Allows embedding of code blocks in other elements
265269
- pymdownx.superfences:
266270
# Allows the use of diagrams

0 commit comments

Comments
 (0)