use MkDocs to generate a static website

This commit is contained in:
Vinta
2015-06-07 03:36:52 +08:00
parent 2917299708
commit 65ef34f2d2
5 changed files with 60 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
BASEDIR=$(CURDIR)
DOCDIR=$(BASEDIR)/docs
install:
pip install mkdocs
preview:
mkdocs serve
deploy:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
mkdocs gh-deploy --clean