Ah I see the problem, autodoc_exclude_modules works fine, the nova.wsgi.* stuff is skipped here:
[pbr] Generating doc/source/api/nova.weights.rst [pbr] Generating doc/source/api/nova.wsgi.rst Running Sphinx v1.2.3
The problem is when running the sphinx html builder due to having warnerrors=True set in setup.cfg, there is no exclusion list passed to the sphinx html builder so it processes all files.
Ah I see the problem, autodoc_ exclude_ modules works fine, the nova.wsgi.* stuff is skipped here:
[pbr] Generating doc/source/ api/nova. weights. rst api/nova. wsgi.rst
[pbr] Generating doc/source/
Running Sphinx v1.2.3
The problem is when running the sphinx html builder due to having warnerrors=True set in setup.cfg, there is no exclusion list passed to the sphinx html builder so it processes all files.