Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 589 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 589 Bytes

https://www.mkdocs.org/getting-started/

https://github.com/squidfunk/mkdocs-material

安装mkdocs:

$ pip install mkdocs

创建新项目:

$ python -m mkdocs new my-project
$ cd my-project

启动:

$ python -m mkdocs serve
INFO    -  Building documentation...
INFO    -  Cleaning site directory
INFO    -  Documentation built in 0.22 seconds
INFO    -  [15:50:43] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO    -  [15:50:43] Serving on http://127.0.0.1:8000/

部署:https://squidfunk.github.io/mkdocs-material/publishing-your-site/