[openstack-nova] fix the directory that the doc index is generated from

Pádraig Brady pbrady at fedoraproject.org
Mon Mar 26 17:34:40 UTC 2012


commit 8fa29840ef037ed7bad21c5f8218d8937aa6270a
Author: Pádraig Brady <P at draigBrady.com>
Date:   Mon Mar 26 18:30:08 2012 +0100

    fix the directory that the doc index is generated from
    
    Note this workaround seems redundant on my system (sphinx 1.0.7),
    so also add a comment about possible remval in future

 openstack-nova.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/openstack-nova.spec b/openstack-nova.spec
index 5bddcf5..886536f 100644
--- a/openstack-nova.spec
+++ b/openstack-nova.spec
@@ -187,9 +187,14 @@ find nova -name \*.py -exec sed -i '/\/usr\/bin\/env python/d' {} \;
 
 # docs generation requires everything to be installed first
 export PYTHONPATH="$( pwd ):$PYTHONPATH"
+
+# TODO: possibly remove call to
+# manually auto-generate to work around sphinx-build segfault
+# This was not required on python-sphinx-1.0.7 at least
+# but it's relatively quick at least
+doc/generate_autodoc_index.sh
+
 pushd doc
-# Manually auto-generate to work around sphinx-build segfault
-./generate_autodoc_index.sh
 
 %if 0%{?with_doc}
 SPHINX_DEBUG=1 sphinx-build -b html source build/html


More information about the scm-commits mailing list