Correct regression in upload_docs in syntax adjustment. Fixes #124.