mirror of
https://github.com/Bionus/imgbrd-grabber.git
synced 2025-01-07 03:16:48 +08:00
docs: update mkdocs-material to 9.5
This commit is contained in:
parent
21b07a5090
commit
486feb07e9
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -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
|
||||
|
13
mkdocs.yml
13
mkdocs.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user