nova/doc/ext/nova_autodoc.py
Monty Taylor 702a4743f0 Get rid of all of the autodoc import errors.
This hasn't worked right in a bazillion years.

Change-Id: I4db20ce97f920cdb7254d51e18a0630b0283b39d
2012-03-05 20:22:51 -08:00

13 lines
233 B
Python

import gettext
import os
gettext.install('nova')
from nova import utils
def setup(app):
print "**Autodocumenting from %s" % os.path.abspath(os.curdir)
rv = utils.execute('./doc/generate_autodoc_index.sh')
print rv[0]