|
||
---|---|---|
docs | ||
.gitignore | ||
README.md | ||
mkdocs.yml | ||
requirements.txt |
README.md
Python
安装MkDocs
# 初始化项目
pip3 install mkdocs
python3 -m mkdocs new .
# 安装依赖包
pip3 install -r requirements.txt
启动
# 服务启动
mkdocs serve
# 构建
mkdocs build
mkdocs build –-clean # 清理文档残留