d8b6b65f32
Fix bug 888102. This patch fixes the documentation generated here: http://nova.openstack.org/devref/index.html There was a typo in a script that resulted in the module names being invalid and no docs being generated. This one character patch fixes it up and makes the docs happy. Change-Id: I1986e8b468334a1a33264aaec740c4f535a7c30b
21 lines
439 B
Bash
Executable File
21 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
NOVA_DIR='../nova/' # include trailing slash
|
|
DOCS_DIR='source'
|
|
|
|
modules=''
|
|
for x in `find ${NOVA_DIR} -name '*.py'`; do
|
|
if [ `basename ${x} .py` == "__init__" ] ; then
|
|
continue
|
|
fi
|
|
relative=nova.`echo ${x} | sed -e 's$^'${NOVA_DIR}'$$' -e 's/.py$//' -e 's$/$.$g'`
|
|
modules="${modules} ${relative}"
|
|
done
|
|
|
|
for mod in ${modules} ; do
|
|
if [ ! -f "${DOCS_DIR}/${mod}.rst" ];
|
|
then
|
|
echo ${mod}
|
|
fi
|
|
done
|