package documentation

Package directory used to store pydoctor templates.

Usage example:

>>> from pydoctor.templatewriter import TemplateLookup
>>> template_lookup = TemplateLookup(importlib_resources.files('pydoctor.themes') / 'base')
>>> template_lookup.get_template('index.html').version >= 3
True
See Also
TemplateLookup, Template and TemplateElement.

From __init__.py:

Function get_themes Get the list of the available themes.
def get_themes() -> Iterator[str]: (source) ΒΆ

Get the list of the available themes.