Revert some python stuff.

This commit is contained in:
Anduin Xue 2022-03-01 00:32:46 +08:00
parent 99c82d1728
commit a076b175a7
8 changed files with 0 additions and 46 deletions

1
.gitignore vendored
View File

@ -2,4 +2,3 @@
node_modules/
.history
.DS_Store
site/

View File

@ -95,25 +95,3 @@
- 确保分类正确,不和已有的菜名重复
- 确保签入的内容都符合 CC0 协议。尤其注意图片是否有水印!
- 确保他没有签入任何个人身份信息、EUII、Email 地址、GitHub 用户名
## Documentation Hosting
利用`mkdocs-material`来render markdown文件。
`./docs` 文件夹的存在是workaround mkdocs要求`.md`文件不能存在于根目录中。里面全部是relative symlink到
实际的文件/文件夹
需求: Python > 3.6
如何使用:
```
pip install -r requirements.txt
mkdocs serve
```
Documentation可以再本地http://localhost:8000/打开。
管理员:
用`mkdocs build` 生成静态HTML网页, 存在于在`site/`文件夹下。Hosting的时候指向到`site/index.html`即可。

View File

@ -1 +0,0 @@
../CONTRIBUTING.md

View File

@ -1 +0,0 @@
../dishes

View File

@ -1 +0,0 @@
../README.md

View File

@ -1 +0,0 @@
../tips

View File

@ -1,18 +0,0 @@
site_name: How To Cook
use_directory_urls: true
theme:
name: material
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

View File

@ -1 +0,0 @@
mkdocs-material