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
install:
pip install mkdocs
pip install mkdocs-bootswatch
pip install mkdocs mkdocs-material mkdocs-bootswatch
link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md

View File

@ -1,9 +1,25 @@
site_name: Awesome Python
site_url: https://awesome-python.com
site_description: A curated list of awesome Python frameworks, libraries and software
site_author: Vinta Chen
repo_url: https://github.com/vinta/awesome-python
theme: flatly
google_analytics: ['UA-510626-7', 'auto']
site_name: 'Awesome Python'
site_url: 'https://awesome-python.com'
site_description: 'A curated list of awesome Python frameworks, libraries and software'
site_author: 'Vinta Chen'
repo_name: 'vinta/awesome-python'
repo_url: 'https://github.com/vinta/awesome-python'
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:
- "Life is short, you need Python.": "index.md"