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 assemble_doctree(self) -> nodes.document:
      master = self.config.root_doc
      tree = self.env.get_doctree(master)
      tree = inline_all_toctrees(
          self, set(), master, tree, darkgreen, [master]
      )
      tree["docname"] = master
      self.env.resolve_references(tree, master, self)
      self.fix_refuris(tree)
      return tree
  
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 6 for calling the SingleFileHTMLBuilder obj's underlying member method code with example usage: obj.assemble_doctree() and returns: tree