docs: update mkdocs-material to 9.5

This commit is contained in:
Bionus 2024-01-14 18:42:10 +01:00
parent 21b07a5090
commit 486feb07e9
No known key found for this signature in database
GPG Key ID: 54B0B2DE713AE915
2 changed files with 11 additions and 4 deletions

View File

@ -36,7 +36,7 @@ jobs:
mkdocs-material-
- name: Install Python dependencies
run: pip install mkdocs-material==9.4 mkdocs-awesome-pages-plugin mkdocs-macros-plugin mkdocs-git-revision-date-localized-plugin mkdocs-glightbox
run: pip install mkdocs-material==9.5 mkdocs-awesome-pages-plugin mkdocs-macros-plugin mkdocs-git-revision-date-localized-plugin mkdocs-glightbox
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force

View File

@ -29,24 +29,31 @@ theme:
- content.action.edit
- content.action.view
- content.code.copy
- content.tooltips
language: en
logo: assets/img/icon.png
favicon: assets/favicon.ico
palette:
- scheme: default
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: orange
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: orange
toggle:
icon: material/brightness-4
name: Switch to light mode
name: Switch to system preference
# Custom
grabber: