summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2015-03-09 16:03:42 +1100
committerJamie Lennox <jamielennox@redhat.com>2015-03-09 16:11:51 +1100
commitbe1e94f9a2d5baf0cf1d82d510cc74ad0c30f429 (patch)
tree80fc8d41fc60413a0976a35ff346879790b7f4f8 /doc
parentd403c341323970a8d634c7379eba75c7d016a899 (diff)
downloadpython-keystoneclient-be1e94f9a2d5baf0cf1d82d510cc74ad0c30f429.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/ext/apidoc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ext/apidoc.py b/doc/ext/apidoc.py
index 60ad23e..545071e 100644
--- a/doc/ext/apidoc.py
+++ b/doc/ext/apidoc.py
@@ -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):