deb-manila/doc/ext/manila_autodoc.py
vponomaryov 08612d7524 Update manila's docs
After manila's fork from cinder, its docs were not
updated well.

This info is used by doc-builder, see doc/README.rst

Partially implements: blueprint manila-documentation

Change-Id: Ic97584db291b60505d5d310a517c2866fc6fcf5f
2014-06-23 19:19:28 +03:00

15 lines
278 B
Python

from __future__ import print_function
import gettext
import os
gettext.install('manila')
from manila 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])