'Let the user process the docstrings before adding them.'

def process_doc(self, docstrings):

    for docstringlines in docstrings:
        if self.env.app:
            self.env.app.emit('autodoc-process-docstring', self.objtype, self.fullname, self.object, self.options, docstringlines)
        for line in docstringlines:
            (yield line)
