betty.content_builders.raspberry_mint_columns module#

The columns content plugin.

final class betty.content_builders.raspberry_mint_columns.Columns#

Bases: Template, DataManufacturable[ColumnsData]

A container with one or more columns.

The raspberry-mint-columns content builder plugin.

Plugin ID

raspberry-mint-columns

Class

Columns

Configuration

ColumnsData

__init__(content: Iterable[Iterable[ContentBuilder]], *, width: ColumnsWidth, jinja: Environment, justify_content: JustifyContent | None = None)#
async build_template(document: Document) TemplateBuild#

Build template data.

Return a template name, a tuple of a template name and template date to render it. Return None to prevent anything from being rendered at all.

new = <betty.requirement._RequirableDecorator object>#
classmethod new_data_cls() type[ColumnsData]#

The object’s defined data class.

final class betty.content_builders.raspberry_mint_columns.ColumnsData#

Bases: Data, HasProps

Configuration for betty.content_builders.raspberry_mint_columns.Columns.

betty.content_builders.raspberry_mint_columns:ColumnsData
__init__(content: Sequence[ResolvablePluginManufacturerSequence[ContentBuilderDefinition, ContentBuilder]], *, width: ShorthandColumnsWidth | None = None, justify_content: JustifyContent | None = None)#
content#

The content within the columns.

justify_content#

If and how to justify content.

width#

The column widths.