Update module_docs.py

This commit is contained in:
enkore 2014-10-12 14:29:54 +02:00
parent 632eb3b233
commit 057e29d8a8

View File

@ -110,6 +110,7 @@ def generate_automodules(path, basecls):
contents.append("")
for mod in modules:
contents.append(".. _{}:\n".format(mod[0].split(".")[-1]))
contents.append(".. automodule:: {}".format(mod[0]))
contents.append(" :members: {}\n".format(mod[1]))