Created by: jetfuel
Remove the un-necessary dependencies on generating the paddle_docs. Since we split the API part away from the paddle_docs, there is no need to compile paddle_python and paddle_proto to generate regular documentation. Removing the dependencies can greatly reduce the documentation generation time.
Also fix some warning issues.