mirror of
https://github.com/vinta/awesome-python.git
synced 2024-11-24 04:21:07 +00:00
17 lines
213 B
Makefile
17 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
|