1
0
Fork 0
mirror of https://github.com/vinta/awesome-python.git synced 2025-02-17 15:55:47 -05:00

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) site_install:
DOCDIR=$(BASEDIR)/docs
install:
pip install mkdocs==0.16.3 pip install mkdocs==0.16.3
pip install mkdocs-material==1.12.2 pip install mkdocs-material==1.12.2
link: site_link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md
preview: link site_preview: site_link
mkdocs serve mkdocs serve
deploy: link site_deploy: site_link
mkdocs gh-deploy --clean mkdocs gh-deploy --clean

View file

@ -21,5 +21,7 @@ extra:
google_analytics: google_analytics:
- 'UA-510626-7' - 'UA-510626-7'
- 'auto' - 'auto'
extra_css:
- css/extra.css
pages: pages:
- "Life is short, you need Python.": "index.md" - "Life is short, you need Python.": "index.md"