~rlane/nova/ldapimprovements

« back to all changes in this revision

Viewing changes to doc/ext/nova_autodoc.py

  • Committer: Ryan Lane
  • Date: 2010-11-24 15:46:32 UTC
  • mfrom: (382.48.1 trunk)
  • Revision ID: laner@controller-20101124154632-zh7kwjuyyd02a2lh
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os
 
2
 
 
3
from nova import utils
 
4
 
 
5
def setup(app):
 
6
    rootdir = os.path.abspath(app.srcdir + '/..')
 
7
    print "**Autodocumenting from %s" % rootdir
 
8
    rv = utils.execute('cd %s && ./generate_autodoc_index.sh' % rootdir)
 
9
    print rv[0]