class_docstr: A StandaloneHTMLBuilder subclass that puts the whole document tree on one
  HTML page.
class_docstr_tok: ["A","StandaloneHTMLBuilder","subclass","that","puts","the","whole","document","tree","on","one","HTML","page","."]
code: def fix_refuris(self, tree: Node) -> None:
      # fix refuris with double anchor
      fname = self.config.root_doc + self.out_suffix
      for refnode in tree.findall(nodes.reference):
          if "refuri" not in refnode:
              continue
          refuri = refnode["refuri"]
          hashindex = refuri.find("#")
          if hashindex < 0:
              continue
          hashindex = refuri.find("#", hashindex + 1)
          if hashindex >= 0:
              refnode["refuri"] = fname + refuri[hashindex:]
  
imports: from __future__ import annotations
  from os import path
  from typing import TYPE_CHECKING, Any
  from docutils import nodes
  from sphinx.builders.html import StandaloneHTMLBuilder
  from sphinx.environment.adapters.toctree import global_toctree_for_doc
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.console import darkgreen
  from sphinx.util.display import progress_message
  from sphinx.util.nodes import inline_all_toctrees
label_desc: Use image node_id 4 for calling the SingleFileHTMLBuilder obj's underlying member method code with example usage: obj.fix_refuris(tree) without return types