From a3b6e0f358871dc41516c33d237a0a61735ff84c Mon Sep 17 00:00:00 2001 From: Todd Willey Date: Sun, 7 Nov 2010 17:53:39 -0500 Subject: Use the autodoc tools in the setup.py build_sphinx toolchain. --- doc/ext/nova_autodoc.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/ext/nova_autodoc.py (limited to 'doc/ext') diff --git a/doc/ext/nova_autodoc.py b/doc/ext/nova_autodoc.py new file mode 100644 index 000000000..39aa2c2cf --- /dev/null +++ b/doc/ext/nova_autodoc.py @@ -0,0 +1,9 @@ +import os + +from nova import utils + +def setup(app): + rootdir = os.path.abspath(app.srcdir + '/..') + print "**Autodocumenting from %s" % rootdir + rv = utils.execute('cd %s && ./generate_autodoc_index.sh' % rootdir) + print rv[0] -- cgit