betty.extensions.maps package

Submodules

Module contents

Integrate Betty with Leaflet.js.

final class betty.extensions.maps.Maps

Bases: Generator, EntryPointProvider, Manufacturable

The maps extension plugin. Display interactive maps

Plugin ID

maps

Class

Maps

Configuration

not configurable

__init__(*, project: Project)
async generate(scheduler: Scheduler) None

Generate (part of) a project’s site.

new = <betty.requirement._RequirableDecorator object>
webpack_entry_point_cache_keys() Sequence[str]

Get the keys that make a Webpack build for this provider unique.

Providers that can be cached regardless may return ().

classmethod webpack_entry_point_directory() StrPath

Get the path to the directory with the entry point assets.

The directory must include at least a package.json and main.ts.