安装
1 | 1. 安装python2.7(安装时选中加入环境变量) |
mkdocs-material主题配置
1 | 1. pip install mkdocs-material |
mkdocs.yml 配置示例:
1 | site_name: 文档中心 |
常用命令
mkdocs new [dir-name]
- Create a new project.mkdocs serve
- Start the live-reloading docs server.mkdocs build
- Build the documentation site.mkdocs help
- Print this help message.
项目结构
1 | mkdocs.yml # The configuration file. |