gettext.install() was removed from cinder/__init__.py with this commit https://review.openstack.org/#/c/28543/2.
But this is needed for doc build with sphinx because the toplevel script is not any of the scripts under path "bin", but cinder/api/openstack/__init__.py. Without gettext.install() invoked in cinder/api/openstack/__init__.py, sphinx-build will fail and no docs on APIs can be generated. I thinks the cases are the same withe other components including nova, neutron, etc.
gettext.install() was removed from cinder/__init__.py with this commit https:/ /review. openstack. org/#/c/ 28543/2. api/openstack/ __init_ _.py. Without gettext.install() invoked in cinder/ api/openstack/ __init_ _.py, sphinx-build will fail and no docs on APIs can be generated. I thinks the cases are the same withe other components including nova, neutron, etc.
But this is needed for doc build with sphinx because the toplevel script is not any of the scripts under path "bin", but cinder/