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 write(self, *ignored: Any) -> None:
      docnames = self.env.all_docs
  
      with progress_message(__("preparing documents")):
          self.prepare_writing(docnames)  # type: ignore[arg-type]
  
      with progress_message(__("assembling single document")):
          doctree = self.assemble_doctree()
          self.env.toc_secnumbers = self.assemble_toc_secnumbers()
          self.env.toc_fignumbers = self.assemble_toc_fignumbers()
  
      with progress_message(__("writing")):
          self.write_doc_serialized(self.config.root_doc, doctree)
          self.write_doc(self.config.root_doc, doctree)
  
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 10 for calling the SingleFileHTMLBuilder obj's underlying member method code with example usage: obj.write() without return types