def get_docs(rule_class_instance):
    """Extract documents from a rule class instance

    :param rule_class_instance : rule class instance from where to extract documents
    :return                    : dictionary with Codacy documents info
    """
    return dict(patternId=rule_class_instance.id,
                title=rule_class_instance.shortdesc,
                description=rule_class_instance.__doc__,
                timeToFix=5)