Files
gantt/doc/generate_autodoc_index.sh
Andy Smith 11780c491a Switch to module-per-file for the module index.
Rename development guide to development reference.
2010-11-08 02:00:48 +09:00

20 lines
331 B
Bash
Executable File

#!/bin/sh
SOURCEDIR=source
for x in `./find_autodoc_modules.sh`;
do
echo "Generating ${SOURCEDIR}/${x}.rst"
echo "${SOURCEDIR}/${x}.rst" >> .autogenerated
( cat <<EOF
The :mod:\`${x}\` Module
=====================
.. automodule:: ${x}
:members:
:undoc-members:
:show-inheritance:
EOF
) > ${SOURCEDIR}/${x}.rst
done