class_docstr: A factory class for HTML Themes.
class_docstr_tok: ["A","factory","class","for","HTML","Themes","."]
code: def __init__(self, app: Sphinx) -> None:
      self.app = app
      self.themes = app.registry.html_themes
      self.load_builtin_themes()
      if getattr(app.config, "html_theme_path", None):
          self.load_additional_themes(app.config.html_theme_path)
  
imports: from __future__ import annotations
  import configparser
  import os
  import shutil
  import sys
  import tempfile
  from os import path
  from typing import TYPE_CHECKING, Any
  from zipfile import ZipFile
  import contextlib
  from sphinx import package_dir
  from sphinx.config import check_confval_types
  from sphinx.errors import ThemeError
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.osutil import ensuredir
label_desc: Use image node_id 1 to create a new HTMLThemeFactory object  with example: obj = HTMLThemeFactory(app)