def METHOD_NAME(docstring):
    # There seems to be no good way to parse a Sphinx specific
    # rst string. docutils.core.publish_string cannot do it, and I 
    # don't know what can, so we will have to continue grabbing the first
    # line that looks like a title
    for line in docstring.splitlines():
        line.strip()
        # Skip empty lines and directives
        if not line:
            continue
        if line.startswith('..'):
            continue
        # First line we find should be the title
        title = line
        break
    return title