manila/doc/ext/cinder_autodoc.py

13 lines
237 B
Python
Raw Normal View History

2013-08-08 10:34:06 -04:00
import gettext
import os
gettext.install('cinder')
from cinder 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]