class documentation

class HTMLThemeFactory:

View In Hierarchy

A factory class for HTML Themes.
Method __init__ Undocumented
Method create Create an instance of theme.
Method find​_themes Search themes from specified directory.
Method load​_additional​_themes Load additional themes placed at specified directories.
Method load​_alabaster​_theme Load alabaster theme.
Method load​_builtin​_themes Load built-in themes.
Method load​_external​_theme Try to load a theme using entry_points.
Method load​_extra​_theme Try to load a theme with the specified name.
Method load​_sphinx​_rtd​_theme Load sphinx_rtd_theme theme (if installed).
Instance Variable app Undocumented
Instance Variable themes Undocumented
def __init__(self, app):

Undocumented

Parameters
app:SphinxUndocumented
def create(self, name):
Create an instance of theme.
Parameters
name:strUndocumented
Returns
ThemeUndocumented
def find_themes(self, theme_path):
Search themes from specified directory.
Parameters
theme​_path:strUndocumented
Returns
Dict[str, str]Undocumented
def load_additional_themes(self, theme_paths):
Load additional themes placed at specified directories.
Parameters
theme​_paths:strUndocumented
def load_alabaster_theme(self):
Load alabaster theme.
def load_builtin_themes(self):
Load built-in themes.
def load_external_theme(self, name):

Try to load a theme using entry_points.

Sphinx refers to sphinx_themes entry_points.

Parameters
name:strUndocumented
def load_extra_theme(self, name):
Try to load a theme with the specified name.
Parameters
name:strUndocumented
def load_sphinx_rtd_theme(self):
Load sphinx_rtd_theme theme (if installed).
app =

Undocumented

themes =

Undocumented