饭叔的知识整理

用mkdocs查看sequelize文档

git clone git@github.com:sequelize/sequelize.git --depth=1
cd sequelize 

启动mkdocs服务
mkdocs serve

ImportError: Failed loading extension 'gfm' from 'gfm', 'markdown.extensions.gfm' or 'mdx_gfm'
报错了,需要安装git favor markdown

pip install py-gfm

mkdocs serve
INFO    -  Building documentation... 
[I 150828 07:16:59 server:271] Serving on http://127.0.0.1:8000
[I 150828 07:16:59 handlers:58] Start watching changes
[I 150828 07:16:59 handlers:60] Start detecting changes
[I 150828 07:17:53 handlers:131] Browser Connected: http://localhost:8000/