Skip to content

Commit

Permalink
update mkdocs config
Browse files Browse the repository at this point in the history
  • Loading branch information
vinta committed Apr 10, 2018
1 parent 8625433 commit 21ab061
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 21ab061

Please sign in to comment.