generate API documentation
build API doc on travis as well