def _refactor_attributes(self, header):
        items = self.extract_items(AttributeItem)
        lines = []
        for item in items:
            lines += item.to_rst()
        return lines
Refactor the attributes section to sphinx friendly format
dataset/ETHPy150Open enthought/traits/docs/source/_extensions/refactordoc/class_doc.py/ClassDoc._refactor_attributes