class_docstr: Builds Texinfo output to create Info documentation.
class_docstr_tok: ["Builds","Texinfo","output","to","create","Info","documentation","."]
code: def copy_image_files(self, targetname: str) -> None:
      if self.images:
          stringify_func = ImageAdapter(
              self.app.env
          ).get_original_image_uri
          for src in status_iterator(
              self.images,
              __("copying images... "),
              "brown",
              len(self.images),
              self.app.verbosity,
              stringify_func=stringify_func,
          ):
              dest = self.images[src]
              try:
                  imagedir = path.join(
                      self.outdir, targetname + "-figures"
                  )
                  ensuredir(imagedir)
                  copy_asset_file(
                      path.join(self.srcdir, src),
                      path.join(imagedir, dest),
                  )
              except Exception as err:
                  logger.warning(
                      __("cannot copy image file %r: %s"),
                      path.join(self.srcdir, src),
                      err,
                  )
  
imports: from __future__ import annotations
  import os
  import warnings
  from os import path
  from typing import TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.frontend import OptionParser
  from docutils.io import FileOutput
  from sphinx import addnodes, package_dir
  from sphinx.builders import Builder
  from sphinx.environment.adapters.asset import ImageAdapter
  from sphinx.errors import NoUri
  from sphinx.locale import _, __
  from sphinx.util import logging
  from sphinx.util.console import darkgreen
  from sphinx.util.display import progress_message, status_iterator
  from sphinx.util.docutils import new_document
  from sphinx.util.fileutil import copy_asset_file
  from sphinx.util.nodes import inline_all_toctrees
  from sphinx.util.osutil import SEP, ensuredir, make_filename_from_project
  from sphinx.writers.texinfo import TexinfoTranslator, TexinfoWriter
label_desc: Use image node_id 9 for calling the TexinfoBuilder obj's underlying member method code with example usage: obj.copy_image_files(targetname) without return types