diff --git a/Makefile b/Makefile index 10eb1c3..42273f3 100644 --- a/Makefile +++ b/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 diff --git a/docs/extra.css b/docs/css/extra.css similarity index 100% rename from docs/extra.css rename to docs/css/extra.css diff --git a/mkdocs.yml b/mkdocs.yml index d0ae59e..aa01d27 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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"