@staticmethod
def parse_docs(docs):
    """returns tuple of (name, docs)"""
    if not docs:
        return __name__, '<no documentation>'
    docs = docs.strip().split('\n')
    for i, line in enumerate(docs):
        docs[i] = line.strip()
    return docs[0], ' '.join(docs[1:]) if len(docs[1:]
        ) else '<no documentation>'
