Don't generate doc from test

Acoording to pbr's usage [1], we should avoid generating
doc from test.
[1] https://github.com/openstack-dev/pbr/blob/master/doc/source/index.rst#pbr

Change-Id: Iea24bd9ac713ff6c093eac88e03ebf5dbd0eabc1
This commit is contained in:
ChangBo Guo(gcb) 2015-12-07 14:44:37 +08:00
parent c1380c5066
commit c76b9af3fd
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['api/oslo_policy.tests.*', 'api/setup.rst']
# General information about the project.
project = u'oslo.policy'
copyright = u'2014, OpenStack Foundation'