include inheritance graphs
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@653 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -35,7 +35,7 @@ needs_sphinx = '1.1'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ["breathe", "sphinxcontrib.doxylink", "sphinx.ext.autosummary", "sphinxcontrib.programoutput"]
|
||||
extensions = ["breathe", "sphinxcontrib.doxylink", "sphinx.ext.autosummary", "sphinxcontrib.programoutput", "sphinx.ext.inheritance_diagram"]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
@@ -224,6 +224,8 @@ man_pages = [
|
||||
('index', 'virtualsmartcardarchitecture', u'Virtual Smartcard Architecture Documentation',
|
||||
[u'Dominik Oepen, Frank Morgner'], 1)
|
||||
]
|
||||
|
||||
breathe_projects = {"npa": "npa/xml"}
|
||||
breathe_default_project = "npa"
|
||||
|
||||
doxylink = { 'npa' : ('npa/npa.tag', '_static/doxygen-npa/'), }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user