doc: enable new feature of mkdocs-material.

This commit is contained in:
Alexandre Pujol 2023-12-10 15:21:40 +00:00
parent 4b973554db
commit ab27bc1e16
Failed to generate hash of commit

View file

@ -41,9 +41,9 @@ theme:
view: material/file-eye-outline view: material/file-eye-outline
features: features:
- content.action.edit - content.action.edit
- content.action.view
- content.code.annotate - content.code.annotate
- content.code.copy - content.code.copy
- content.tooltips
- navigation.indexes - navigation.indexes
- navigation.sections - navigation.sections
- navigation.tabs - navigation.tabs
@ -57,7 +57,10 @@ extra_css:
# Plugins # Plugins
plugins: plugins:
- privacy
- search - search
- offline:
enabled: !ENV [CI, true]
- git-revision-date-localized: - git-revision-date-localized:
enabled: !ENV [ENABLED_GIT_REVISION_DATE, True] enabled: !ENV [ENABLED_GIT_REVISION_DATE, True]
enable_creation_date: true enable_creation_date: true
@ -84,6 +87,7 @@ markdown_extensions:
- attr_list - attr_list
- def_list - def_list
- footnotes - footnotes
- tables
- md_in_html - md_in_html
- toc: - toc:
permalink: true permalink: true
@ -99,13 +103,13 @@ markdown_extensions:
- pymdownx.highlight: - pymdownx.highlight:
anchor_linenums: true anchor_linenums: true
- pymdownx.inlinehilite - pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.keys - pymdownx.keys
- pymdownx.magiclink: - pymdownx.magiclink:
repo_url_shorthand: true repo_url_shorthand: true
user: squidfunk user: squidfunk
repo: mkdocs-material repo: mkdocs-material
- pymdownx.smartsymbols - pymdownx.smartsymbols
- pymdownx.snippets
- pymdownx.superfences: - pymdownx.superfences:
custom_fences: custom_fences:
- name: mermaid - name: mermaid