code: def render_sphinx_doc(self, doc, context=None, css_path=CSS_PATH):
          
          # Math rendering option could have changed
          if self.main.editor is not None:
              fname = self.main.editor.get_current_filename()
              dname = osp.dirname(fname)
          else:
              dname = ''
          self._sphinx_thread.render(doc, context, self.get_option('math'),
                                     dname, css_path=self.css_path)
docs: Transform doc string dictionary to HTML and show it