import re


def chop_after_title(source):
    """Return the source of a document after DocInfo metadata.

    :param source: Source of RST document
    :type source: string
    :returns: All source content after docinfo
    :rtype: string
    """
    # find the last docinfo element
    index = re.findall(r'[=-]{3,}\n.*\n[-=]{3,}', source, re.MULTILINE)[-1]

    # find the character position of last docinfo element + len of it
    rest = source[source.rindex(index) + len(index) :]
    return rest.strip()