Previous topic

lunar.sphinx.ext.issuetracker – Reference issues in issue trackers

Next topic

lunar.sphinx.ext.pyqt – Document Qt4 APIs

This Page

lunar.sphinx.ext.epydoc – Epydoc crossreferences

This extension cross-references API documentation generated by epydoc. It works with the standard roles of the Python domain.

Use the following configuration value to activate the cross-referencing:

epydoc_mapping

A dictionary mapping URIs to a list of regular expression.

Each key of this dictionary is a base url of an epydoc-generated documentation. Each value is a list of regular expressions, the reference target must match (see re.match()) to be cross-referenced with the base url.

For instance, assume this value was set to the following:

epydoc_mapping = {
   'http://paludis.pioto.org/api/python/': [r'paludis\.'],
   }

Then the following cross-reference would link to the documentation of the paludis.PackageID class:

This is a cross-reference to the :class:`paludis.PackageID`