davidedc/livecodelab — pull request #192 by rumblesan (2013-10-28 20:41:25+00:00)
Title: Build system cleanup, doc generation improvements and gh-pages generation

so this pull request does 3 things (bad practice but oh well)

The build system has been cleaned up and now builds everything into the dist folder again instead of the root folder. This is so it's easier to do a release of sorts.

I removed a bunch of the doc generation stuff and stuck with docco. I've got it generating different pages for the how-tos and the source, and it's looking pretty good. The formatting of the comments in the source could do with some work but we can do that gradually. We can start looking at other doc systems again, but docco was the simplest and least confusing. Chatting about this over a beer or two would probably be best.

There is now a grunt task to generate the github pages branch. I copied all the stuff from the existing LiveCodeLab-website repo so it still has the same landing page and everything, but we won't have to have a separate repo with a submodule and keep everything in sync. Instead we can just run the grunt release task and it will update the pages for us. Simples!
To get it to work we need to change the file called *name* to *CNAME* and remove the existing website repo. Can do this once you've had a look at the code and we've discussed.