Change mode of generate-docs.sh so Travis CI can run it