From b62ddeda02fadcd09def9354eb2ef46a7562a106 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 6 Dec 2017 23:18:29 -0500 Subject: Switch docs to MKDocs (#602) Fixes #601. Merged in 6f87b32 from the md3 branch and did a lot of cleanup. Changes include: * Removed old docs build tool, templates, etc. * Added MkDocs config file, etc. * filename.txt => filename.md * pythonhost.org/Markdown => Python-Markdown.github.io * Markdown lint and other cleanup. * Automate pages deployment in makefile with `mkdocs gh-deploy` Assumes a git remote is set up named "pages". Do git remote add pages https://github.com/Python-Markdown/Python-Markdown.github.io.git ... before running `make deploy` the first time. --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 2752d6a..aeb81aa 100644 --- a/makefile +++ b/makefile @@ -22,6 +22,7 @@ install: deploy: python setup.py sdist --manifest-only python setup.py sdist --formats zip,gztar upload + mkdocs gh-deploy -r pages -b master .PHONY : build build: @@ -35,8 +36,7 @@ build-win: .PHONY : docs docs: - python setup.py build_docs --force - cd build/docs && zip -r ../docs.zip . + mkdocs build --clean .PHONY : test test: @@ -62,4 +62,5 @@ clean: rm -rf build rm -rf dist rm -rf tmp + rm -rf site # git clean -dfx' -- cgit v1.2.3