def _format_rest(self, doc):
        try:
            from docutils.core import publish_parts
        except __HOLE__:
            raise DataError("reST format requires 'docutils' module to be installed.")
        parts = publish_parts(doc, writer_name='html')
        return self._format_html(parts['html_body'])
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libdocpkg/htmlwriter.py/DocToHtml._format_rest