adding support for mkdocs-material hosting/docs generation

This commit is contained in:
Siming Yuan
2022-02-28 11:45:05 -05:00
committed by Siming Yuan
parent 390f098321
commit a4cc5409a6
4 changed files with 49 additions and 0 deletions

24
mkdocs.yml Normal file
View 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