diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dfafe0e --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +GIT=git +REPO_TEMP=/tmp/ftutils_docbuild +GEN_DOCS_DIR=$(REPO_TEMP)/apidocs/html/ +DOCS_DEST=docs/api +DOCSET_DEST=$(DOCS_DEST)/docset +JEKYLL=jekyll + +clean: + rm -rf $(REPO_TEMP) + +clonetmp: clean + $(GIT) clone -o master git://github.com/neror/ftutils.git $(REPO_TEMP) + +docbuild: clonetmp + $(MAKE) -C $(REPO_TEMP) docsetpublish + +docs: docbuild + cp -R $(REPO_TEMP)/apidocs/html/ $(DOCS_DEST) + cp -R $(REPO_TEMP)/apidocs/publish/* $(DOCSET_DEST) + +serve: + $(JEKYLL) --pygments --safe diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..8db0ce3 --- /dev/null +++ b/_config.yml @@ -0,0 +1,3 @@ +auto: true +server: true +pygments: true \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f682396..eb02ce5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,78 +1,107 @@ + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - GitHub Pages - {{ page.title }} - - - - - -
-