From 4f55f2da5a8511a05af9c3030cfdb25a3a4070a3 Mon Sep 17 00:00:00 2001 From: Vinta Date: Tue, 9 Jun 2015 19:19:41 +0800 Subject: [PATCH] fix Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1019b53..0c42fe4 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,13 @@ DOCDIR=$(BASEDIR)/docs install: pip install mkdocs +link: + ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md + preview: + $(MAKE) link mkdocs serve deploy: - ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md + $(MAKE) link mkdocs gh-deploy --clean