Skip to content

Commit

Permalink
update mkdocs features
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Mar 3, 2024
1 parent 4a5442b commit 232638d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ theme:
features:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#setting-up-navigation
- navigation.instant
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation#progress-indicator
- navigation.instant.progress
- navigation.path
# This breaks navigation.expand at the moment
# - navigation.prune
Expand All @@ -102,7 +104,6 @@ theme:
- navigation.top
- navigation.tabs
- navigation.sections
- navigation.tracking
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#table-of-contents
- toc.follow
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-suggestions
Expand All @@ -119,7 +120,8 @@ theme:
- content.code.select
- content.code.annotate
- content.tooltips
# - header.autohide
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer#navigation
- navigation.footer

# a custom colour scheme could be good in the future
# dark purple accent and primary don't look the best
Expand Down Expand Up @@ -175,7 +177,9 @@ plugins:
height: 100vw

# https://timvink.github.io/mkdocs-git-revision-date-localized-plugin
- git-revision-date-localized
- git-revision-date-localized:
enabled: !ENV [CI, false]
enable_creation_date: true

#
# Python Markdown
Expand All @@ -195,6 +199,8 @@ markdown_extensions:

# https://squidfunk.github.io/mkdocs-material/reference/annotations
- abbr

# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#attribute-lists
- attr_list
- md_in_html

Expand Down

0 comments on commit 232638d

Please sign in to comment.