include inheritance graphs

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@653 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-12-08 21:21:40 +00:00
parent 28db2c72cc
commit a4f4ecff14
2 changed files with 5 additions and 2 deletions

View File

@@ -75,7 +75,8 @@ def format_heading(level, text):
def format_directive(module, package=None):
"""Create the automodule directive and add the options."""
directive = '.. automodule:: %s\n' % makename(package, module)
directive = '.. inheritance-diagram:: %s\n' % makename(package, module)
directive += '.. automodule:: %s\n' % makename(package, module)
for option in OPTIONS:
directive += ' :%s:\n' % option
return directive