mapbox/tilemill — pull request #1691 by springmeyer (2012-09-17 17:55:25+00:00)
Title: Nuke master docs

We recently moved to only updating docs in the gh-pages branch and NOT merging between master and gh-pages. To complete this move, and to avoid confusion, I think we should remove the stale docs from the master branch once and for all. This makes clear that docs updates should only happen in the gh-pages branch. As far as the offline manual (aka. the in-app reference) we can simply manually sync it before releases by copying over the `assets/manual` and `_posts/docs/reference` directories from gh-ages to master.

In this case of this branch I did this all at once like:

```sh
rm -rf assets/pages
rm -rf _layouts/
rm -rf _posts/
rm -rf _includes
rm -rf _config.yml
export TILEMILL_SOURCES=`pwd`
#cd /tmp
#git clone --depth=1 -b gh-pages https://github.com/mapbox/tilemill tilemill-gh-pages
#cd tilemill-gh-pages
#export TILEMILL_GHPAGES=`pwd`
export TILEMILL_GHPAGES=../tilemill-gh-pages
rm -rf ${TILEMILL_SOURCES}/assets/manual
mkdir -p ${TILEMILL_SOURCES}/assets/manual
cp -r ${TILEMILL_GHPAGES}/assets/manual/* ${TILEMILL_SOURCES}/assets/manual/
rm -rf ${TILEMILL_SOURCES}/_posts/docs/reference
mkdir -p ${TILEMILL_SOURCES}/_posts/docs/reference
cp -r ${TILEMILL_GHPAGES}/_posts/docs/reference/* ${TILEMILL_SOURCES}/_posts/docs/reference/
```