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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user