class_docstr: Builder that outputs epub files.
  
  It creates the metainfo files container.opf, toc.ncx, mimetype, and
  META-INF/container.xml.  Afterwards, all necessary files are zipped to an
  epub file.
class_docstr_tok: ["Builder","that","outputs","epub","files",".","It","creates","the","metainfo","files","container.opf",",","toc.ncx",",","mimetype",",","and","META-INF\/container.xml",".","Afterwards",",","all","necessary","files","are","zipped","to","an","epub","file","."]
docstr: Create a rendered page.
  
  This method is overwritten for genindex pages in order to fix href link
  attributes.
code: def handle_page(
      self,
      pagename: str,
      addctx: dict,
      templatename: str = "page.html",
      outfilename: str | None = None,
      event_arg: Any = None,
  ) -> None:
      """Create a rendered page.
  
      This method is overwritten for genindex pages in order to fix href link
      attributes.
      """
      if (
          pagename.startswith("genindex")
          and "genindexentries" in addctx
      ):
          if not self.use_index:
              return
          self.fix_genindex(addctx["genindexentries"])
      addctx["doctype"] = self.doctype
      super().handle_page(
          pagename, addctx, templatename, outfilename, event_arg
      )
  
imports: from __future__ import annotations
  import html
  import os
  import re
  import time
  from os import path
  from typing import TYPE_CHECKING, Any, NamedTuple
  from urllib.parse import quote
  from zipfile import ZIP_DEFLATED, ZIP_STORED, ZipFile
  from docutils import nodes
  from docutils.utils import smartquotes
  from sphinx import addnodes
  from sphinx.builders.html import BuildInfo, StandaloneHTMLBuilder
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.display import status_iterator
  from sphinx.util.fileutil import copy_asset_file
  from sphinx.util.osutil import copyfile, ensuredir, relpath
label_desc: Use image node_id 18 for calling the EpubBuilder obj's underlying member method code with example usage: obj.handle_page(pagename, addctx, templatename, outfilename, event_arg) without return types