mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-04 07:03:57 +00:00
use MkDocs to generate a static website
This commit is contained in:
parent
2917299708
commit
65ef34f2d2
5 changed files with 60 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
BASEDIR=$(CURDIR)
|
||||
DOCDIR=$(BASEDIR)/docs
|
||||
|
||||
install:
|
||||
pip install mkdocs
|
||||
|
||||
preview:
|
||||
mkdocs serve
|
||||
|
||||
deploy:
|
||||
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
|
||||
mkdocs gh-deploy --clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue