Skip to content

Commit

Permalink
Don't autodoc the test suite
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jamie Lennox committed Mar 9, 2015
1 parent d403c34 commit be1e94f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/ext/apidoc.py
Expand Up @@ -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):
Expand Down

0 comments on commit be1e94f

Please sign in to comment.