run apidoc before building the docs