awesome-python/Makefile

15 lines
229 B
Makefile

BASEDIR=$(CURDIR)
DOCDIR=$(BASEDIR)/docs
install:
pip install mkdocs mkdocs-material mkdocs-bootswatch
link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
preview: link
mkdocs serve
deploy: link
mkdocs gh-deploy --clean