20 lines
331 B
Bash
Executable File
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
|
|
|