build and package apidocs