fix apidocs packaging leaking doc to main packages