fancy theme: mkdocs-material

https://github.com/squidfunk/mkdocs-material
This commit is contained in:
Vinta 2017-10-27 04:13:31 +08:00
parent fb4c1e65b9
commit ca9220cee7
2 changed files with 24 additions and 9 deletions

View File

@ -2,8 +2,7 @@ BASEDIR=$(CURDIR)
DOCDIR=$(BASEDIR)/docs DOCDIR=$(BASEDIR)/docs
install: install:
pip install mkdocs pip install mkdocs mkdocs-material mkdocs-bootswatch
pip install mkdocs-bootswatch
link: link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md

View File

@ -1,9 +1,25 @@
site_name: Awesome Python site_name: 'Awesome Python'
site_url: https://awesome-python.com site_url: 'https://awesome-python.com'
site_description: A curated list of awesome Python frameworks, libraries and software site_description: 'A curated list of awesome Python frameworks, libraries and software'
site_author: Vinta Chen site_author: 'Vinta Chen'
repo_url: https://github.com/vinta/awesome-python repo_name: 'vinta/awesome-python'
theme: flatly repo_url: 'https://github.com/vinta/awesome-python'
google_analytics: ['UA-510626-7', 'auto'] theme: 'material'
extra:
feature:
tabs: false
palette:
primary: 'red'
accent: 'pink'
social:
- type: 'github'
link: 'https://github.com/vinta'
- type: 'twitter'
link: 'https://twitter.com/vinta'
- type: 'linkedin'
link: 'https://www.linkedin.com/in/vinta'
google_analytics:
- 'UA-510626-7'
- 'auto'
pages: pages:
- "Life is short, you need Python.": "index.md" - "Life is short, you need Python.": "index.md"