mirror of
https://github.com/vinta/awesome-python
synced 2024-11-16 00:27:59 +00:00
16 lines
213 B
Makefile
16 lines
213 B
Makefile
BASEDIR=$(CURDIR)
|
|
DOCDIR=$(BASEDIR)/docs
|
|
|
|
install:
|
|
pip install mkdocs
|
|
|
|
link:
|
|
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
|
|
|
|
preview:
|
|
$(MAKE) link
|
|
mkdocs serve
|
|
|
|
deploy:
|
|
$(MAKE) link
|
|
mkdocs gh-deploy --clean
|