Skip to content

Commit b667bb4

Browse files
authored
Merge pull request #616 from bosh/mkdocs_navigation
Mkdocs navigation
2 parents 2b4f629 + f0a63fb commit b667bb4

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

mkdocs.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,21 @@ theme:
5050
edit: fontawesome/solid/wand-magic-sparkles
5151
custom_dir: overrides # https://squidfunk.github.io/mkdocs-material/customization/#extending-the-theme
5252

53+
# Feature flags from mkdocs-material, see:
54+
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation
55+
# https://squidfunk.github.io/mkdocs-material/upgrade
56+
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks
5357
features:
54-
- navigation.instant # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading
55-
- navigation.footer # https://squidfunk.github.io/mkdocs-material/upgrade/#navigationfooter
56-
- navigation.tabs # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-tabs
57-
- navigation.indexes # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages
58-
- navigation.top # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button
59-
- content.action.edit # https://squidfunk.github.io/mkdocs-material/upgrade/#contentaction
60-
- toc.follow # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following
61-
- content.code.annotate # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations
58+
- navigation.instant # setting-up-navigation/#instant-loading # Use XHR instead of page reloads on browsing links
59+
- navigation.footer # upgrade/#navigationfooter # Enable Next and Previous buttons in footer
60+
- navigation.tabs # setting-up-navigation/#navigation-tabs # Enables the header tab navigation on large screens
61+
- navigation.tabs.sticky # setting-up-navigation/#sticky-navigation-tabs # Keep section headers visible instead of collapsing on scroll
62+
- navigation.indexes # setting-up-navigation/#section-index-pages # Allows section headers to be standalone pages
63+
- navigation.top # setting-up-navigation/#back-to-top-button # Button appears when user scrolls down then up
64+
- navigation.tracking # setting-up-navigation/#anchor-tracking # Update url bar #anchor as you scroll
65+
- content.action.edit # upgrade/#contentaction # Enables link to edit on github
66+
- toc.follow # setting-up-navigation/#anchor-following # Sidebar automatically scrolls with content
67+
- content.code.annotate # reference/code-blocks/#code-annotations # Allows + button annotations
6268

6369
palette: # https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-palette-toggle
6470
# Palette toggle for light mode

0 commit comments

Comments
 (0)