Adds option for excluding files from autodoc trees
The arguments originally being passed into sphinx.apidoc specify '.'
as the path to index. Unfortunately this includes the setup.py module.
This causes Sphinx to complain or break depending on the configuration.
This patch ignores setup.py by default and allows the project to
override it in their setup.cfg.
Reviewed: https:/ /review. openstack. org/120216 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=0d6bfaf2e3f 839704f07b265ba 81e224936a2b49
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0d6bfaf2e3f8397 04f07b265ba81e2 24936a2b49
Author: David Stanek <email address hidden>
Date: Tue Sep 9 20:25:27 2014 +0000
Adds option for excluding files from autodoc trees
The arguments originally being passed into sphinx.apidoc specify '.'
as the path to index. Unfortunately this includes the setup.py module.
This causes Sphinx to complain or break depending on the configuration.
This patch ignores setup.py by default and allows the project to
override it in their setup.cfg.
Change-Id: I7c164d42a096ba 1a0daf314a689cc 3252ca81c49
Closes-Bug: #1260495