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: install:
pip install mkdocs pip install mkdocs
pip install mkdocs-bootswatch
link: link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
preview: preview: link
$(MAKE) link
mkdocs serve mkdocs serve
deploy: deploy: link
$(MAKE) link
mkdocs gh-deploy --clean mkdocs gh-deploy --clean