mirror of
https://github.com/vinta/awesome-python.git
synced 2024-11-23 20:11:06 +00:00
update mkdocs config
This commit is contained in:
parent
8625433c3f
commit
21ab061232
13
Makefile
13
Makefile
|
@ -1,15 +1,12 @@
|
|||
BASEDIR=$(CURDIR)
|
||||
DOCDIR=$(BASEDIR)/docs
|
||||
|
||||
install:
|
||||
site_install:
|
||||
pip install mkdocs==0.16.3
|
||||
pip install mkdocs-material==1.12.2
|
||||
|
||||
link:
|
||||
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
|
||||
site_link:
|
||||
ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md
|
||||
|
||||
preview: link
|
||||
site_preview: site_link
|
||||
mkdocs serve
|
||||
|
||||
deploy: link
|
||||
site_deploy: site_link
|
||||
mkdocs gh-deploy --clean
|
||||
|
|
|
@ -21,5 +21,7 @@ extra:
|
|||
google_analytics:
|
||||
- 'UA-510626-7'
|
||||
- 'auto'
|
||||
extra_css:
|
||||
- css/extra.css
|
||||
pages:
|
||||
- "Life is short, you need Python.": "index.md"
|
||||
|
|
Loading…
Reference in New Issue
Block a user