Add script for build docs.
Update javadoc link.