Every time I push a new version of some software to BitBucket, I don't like to make html the Sphinx docs to generate the docs, make dist to make a tarball, copy it to the web server, and so on. So I tried to automate it. ReadTheDocs is fine, but I didn't want to use such a large system, and it didn't make dist and copy the tar ball, so I implemented it myself.
Documentation and code have been uploaded to https://bitbucket.org/mkasa/bitbucket_sphinx_autobuild. It was unexpectedly troublesome when I made it.