Add script to build docs and update gh-pages.