mirror of http://git.sairate.top/sairate/doc.git
Signed-off-by: sairate <sairate@sina.cn>
This commit is contained in:
parent
18741ca37c
commit
02c3be19d9
|
@ -14,4 +14,38 @@ nav:
|
||||||
- 介绍:docs/basic.md
|
- 介绍:docs/basic.md
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: null
|
||||||
|
custom_dir: 'mkdocs-material/material/templates'
|
||||||
|
static_templates:
|
||||||
|
- 404.html
|
||||||
|
language: 'zh'
|
||||||
|
palette:
|
||||||
|
# Palette toggle for light mode
|
||||||
|
- media: "(prefers-color-scheme: light)"
|
||||||
|
scheme: default
|
||||||
|
primary: white
|
||||||
|
accent: red
|
||||||
|
toggle:
|
||||||
|
icon: material/weather-sunny
|
||||||
|
name: Switch to dark mode
|
||||||
|
|
||||||
|
# Palette toggle for dark mode
|
||||||
|
- media: "(prefers-color-scheme: dark)"
|
||||||
|
scheme: slate
|
||||||
|
primary: blue
|
||||||
|
accent: blue
|
||||||
|
toggle:
|
||||||
|
icon: material/weather-night
|
||||||
|
name: Switch to light mode
|
||||||
|
include_search_page: false
|
||||||
|
search_index_only: true
|
||||||
|
favicon: 'favicon.ico'
|
||||||
|
icon:
|
||||||
|
logo: 'material/school'
|
||||||
|
features:
|
||||||
|
- content.action.edit
|
||||||
|
- navigation.tabs
|
||||||
|
- navigation.instant
|
||||||
|
font:
|
||||||
|
text: 'Fira Sans'
|
||||||
|
code: 'Fira Mono'
|
Loading…
Reference in New Issue