clean up doc building command and add upload_docs command