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 get_target_uri(self, docname: str, typ: str | None = None) -> str:
      if docname in self.env.all_docs:
          # all references are on the same page...
          return (
              self.config.root_doc
              + self.out_suffix
              + "#document-"
              + docname
          )
      else:
          # chances are this is a html_additional_page
          return docname + self.out_suffix
  
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 2 for calling the SingleFileHTMLBuilder obj's underlying member method code with example usage: obj.get_target_uri(docname, typ) and returns: unknown, unknown