docs: Make apidoc depend on generated files

This fixes ordering issue when building docs from clean checkout.
domain_data -> subdomain_data