code: def render(self, builder, context, sphinx_app: Sphinx):
          
  
          context['sphinx_app'] = sphinx_app
          context['toctree'] = self
  
          html = builder.templates.render(self.template + '.html', context)
          return html
docs: Given a Sphinx builder and context with site in it,
           generate HTML