adding script to publish doc to gh-pages branch