update mkdocs config

This commit is contained in:
Vinta
2018-04-11 02:11:11 +08:00
parent 8625433c3f
commit 21ab061232
3 changed files with 7 additions and 8 deletions

View File

@@ -1,15 +1,12 @@
BASEDIR=$(CURDIR)
DOCDIR=$(BASEDIR)/docs
install:
site_install:
pip install mkdocs==0.16.3
pip install mkdocs-material==1.12.2
link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
site_link:
ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md
preview: link
site_preview: site_link
mkdocs serve
deploy: link
site_deploy: site_link
mkdocs gh-deploy --clean