betty.project.extension.raspberry_mint package¶
Submodules¶
- betty.project.extension.raspberry_mint.config module
RaspberryMintConfiguration
RaspberryMintConfiguration.DEFAULT_PRIMARY_COLOR
RaspberryMintConfiguration.DEFAULT_SECONDARY_COLOR
RaspberryMintConfiguration.DEFAULT_TERTIARY_COLOR
RaspberryMintConfiguration.__init__()
RaspberryMintConfiguration.dump()
RaspberryMintConfiguration.featured_entities
RaspberryMintConfiguration.load()
RaspberryMintConfiguration.primary_color
RaspberryMintConfiguration.secondary_color
RaspberryMintConfiguration.tertiary_color
Module contents¶
Provide the Raspberry Mint theme.
- final class betty.project.extension.raspberry_mint.RaspberryMint[source]¶
Bases:
ShorthandPluginBase
,Theme
,CssProvider
,ConfigurableExtension
[RaspberryMintConfiguration
],Jinja2Provider
,EntryPointProvider
The Raspberry Mint theme.
- __init__(project: Project, public_css_paths: Sequence[str], *, configuration: RaspberryMintConfiguration)[source]¶
This is private. It MUST NOT be used anywhere outside its containing scope.
- classmethod assets_directory_path() Path [source]¶
Return the path on disk where the extension’s assets are located.
This may be anywhere in your Python package.
- classmethod comes_after() set[PluginIdentifier[Extension]] [source]¶
Get the plugins that this plugin comes after.
The returned plugins come before this plugin.
- classmethod depends_on() set[PluginIdentifier[Extension]] [source]¶
The plugins this one depends on.
- property filters: Mapping[str, Callable[[...], Any]]¶
Jinja2 filters provided by this extension.
Keys are filter names, and values are the filters themselves.
- classmethod new_default_configuration() RaspberryMintConfiguration [source]¶
Create this extension’s default configuration.
- async classmethod new_for_project(project: Project) Self [source]¶
Create a new instance using the given project.
- property public_css_paths: Sequence[str]¶
The public URL paths to the CSS files to include in each HTML page.
- register_event_handlers(registry: EventHandlerRegistry) None [source]¶
Register event handlers with the project.