jeffseif/MocDown — pull request #2 by katyhuff (2014-01-03 19:50:29+00:00)
Title: gh-pages builder

I added a makefile based on the one that builds the site for the ucb-rdn page. It relies on a gh-project.mk file that configures its setup. Let me know if you have any questions about these files. It replaces the makefile that was previously in your doc branch. If you don't like the makefile being in the root directory, I think we can figure out how to move it into the doc directory.. it was just simpler this way.

To use this:
From the root directory in develop or master, type "make gh-preview". This will create a preview of the website in MocDown/gh-build . If you like what you see, type "make gh-publish". If not, type "make gh-revert", change whatever you need to change, and try the cycle again.

Note that gh-publish pushes to the gh-pages branch on your origin remote and then moves you back into your master branch. To change the way this happens, you should be able to just alter the gh-project.mk file. If you want to really fool with it, you can get into the weeds of the Makefile.