Don't autodoc the test suite

Don't build API documentation for the keystoneclient tests. These are
not public functions, pollute the existing docs, and extend the time
required to build docs.

Change-Id: I1206a808272d19b342d26f5117aedafb476d0994
This commit is contained in:
Jamie Lennox
2015-03-09 16:03:42 +11:00
parent d403c34132
commit be1e94f9a2

View File

@@ -37,9 +37,11 @@ def run_apidoc(app):
package_dir = path.abspath(path.join(app.srcdir, '..', '..',
'keystoneclient'))
source_dir = path.join(app.srcdir, 'api')
ignore_dir = path.join(package_dir, 'tests')
apidoc.main(['apidoc', package_dir, '-f',
'-H', 'keystoneclient Modules',
'-o', source_dir])
'-o', source_dir,
ignore_dir])
def setup(app):