def _refactor_as_item_list(self, header):
        items = self.extract_items(item_class=ListItem)
        lines = [':{0}:'.format(header.lower()), '']
        prefix = None if len(items) == 1 else '-'
        for item in items:
            lines += add_indent(item.to_rst(prefix))
        return lines
Refactor the a section to sphinx friendly item list.
dataset/ETHPy150Open enthought/traits/docs/source/_extensions/refactordoc/class_doc.py/ClassDoc._refactor_as_item_list