'Transform doc string dictionary to HTML and show it'

def render_sphinx_doc(self, doc, context=None):

    fname = self.parent().parent().editor.get_current_filename()
    dname = osp.dirname(fname)
    self._sphinx_thread.render(doc, context, self.get_option('math'), dname)
