update Makefile

This commit is contained in:
Vinta 2017-04-24 21:16:43 +08:00
parent a7c4e01f95
commit 0d3f958760

View file

@ -3,14 +3,13 @@ DOCDIR=$(BASEDIR)/docs
install:
pip install mkdocs
pip install mkdocs-bootswatch
link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
preview:
$(MAKE) link
preview: link
mkdocs serve
deploy:
$(MAKE) link
deploy: link
mkdocs gh-deploy --clean