mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-19 19:54:24 +08:00
adding support for mkdocs-material hosting/docs generation
This commit is contained in:
24
mkdocs.yml
Normal file
24
mkdocs.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
site_name: How To Cook
|
||||
use_directory_urls: true
|
||||
docs_dir: .
|
||||
theme:
|
||||
name: material
|
||||
language: zh
|
||||
features:
|
||||
- navigation.instant
|
||||
palette:
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: grey
|
||||
toggle:
|
||||
icon: material/weather-sunny
|
||||
name: Switch to dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/weather-night
|
||||
name: Switch to light mode
|
||||
|
||||
plugins:
|
||||
- same-dir
|
||||
- search
|
||||
Reference in New Issue
Block a user