Add helper script for building and publishing docs.