PBR

Comment 3 for bug 1472276

Revision history for this message
Matt Riedemann (mriedem) wrote :

It looks like we could possibly set the exclude_patterns key in confoverrides here:

https://github.com/openstack-dev/pbr/blob/master/pbr/builddoc.py#L125

Before running sphinx. The problem would be translating the fnmatch autodoc excludes that pbr supports vs the regex patterns that sphinx supports with exclude_patterns:

http://sphinx-doc.org/config.html

https://github.com/sphinx-doc/sphinx/blob/1.2.3/sphinx/config.py#L53

fnmatch is looking for module matches but exclude_patterns is looking for filename/path patterns, so we'd have to translate that all somehow.