'Returns the document\'s parsed content.'

def _hook_include(self, parser, space, title):

    message = (_('The    document    "%s"    does    not    exist.') % title)
    include = get_object_fallback(Document, title, locale=self.locale)
    if ((not include) or (not include.current_revision)):
        return message
    if (include.id in parser.inclusions):
        return (RECURSION_MESSAGE % title)
    else:
        parser.inclusions.append(include.id)
    ret = parser.parse(include.current_revision.content, show_toc=False, locale=self.locale)
    parser.inclusions.pop()
    return ret
