class_docstr: A factory class for HTML Themes.
class_docstr_tok: ["A","factory","class","for","HTML","Themes","."]
docstr: Try to load a theme with the specified name.
  
  This uses the ``sphinx.html_themes`` entry point from package metadata.
docstr_tok: ["Try","to","load","a","theme","with","the","specified","name",".","This","uses","the","``","sphinx.html_themes","``","entry","point","from","package","metadata","."]
code: def load_extra_theme(self, name: str) -> None:
      """Try to load a theme with the specified name.
  
      This uses the ``sphinx.html_themes`` entry point from package metadata.
      """
      theme_entry_points = entry_points(group="sphinx.html_themes")
      try:
          entry_point = theme_entry_points[name]
      except KeyError:
          pass
      else:
          self.app.registry.load_extension(self.app, entry_point.module)
          _config_post_init(None, self.app.config)
  
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 4 for calling the HTMLThemeFactory obj's underlying member method code with example usage: obj.load_extra_theme(name) without return types