From 1172deb15347ac3a47aaaf522668ce6787e28919 Mon Sep 17 00:00:00 2001 From: Utkarsh Naiknaware Date: Wed, 29 Jul 2015 20:13:50 +0530 Subject: [PATCH] bug 1479417: make for cinder doc creation fails This commit corrects module extension name in source/conf.py from oslosphinx to oslo.sphinx. Also corrects directory name used to call ./generate_autodoc_index.sh in ext/cinder_autodoc.py Change-Id: I29b11bef124912bae51436b8c1edd4870a349887 --- doc/ext/cinder_autodoc.py | 2 +- doc/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ext/cinder_autodoc.py b/doc/ext/cinder_autodoc.py index a6b7d68..c0a8909 100644 --- a/doc/ext/cinder_autodoc.py +++ b/doc/ext/cinder_autodoc.py @@ -10,5 +10,5 @@ from cinder import utils def setup(app): print("**Autodocumenting from %s" % os.path.abspath(os.curdir)) - rv = utils.execute('./doc/generate_autodoc_index.sh') + rv = utils.execute('./generate_autodoc_index.sh') print(rv[0]) diff --git a/doc/source/conf.py b/doc/source/conf.py index d2ea1ce..c6f666a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -32,7 +32,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig', 'sphinx.ext.graphviz', - 'oslosphinx', + 'oslo.sphinx', ] # autodoc generation is a bit aggressive and a nuisance -- 1.9.1