SiteBuilder

marola.site.SiteBuilder
object SiteBuilder

MIP-0005 §5.3: just site-build — run the pipeline once per area (not per user) and write the boards the static map reads: data/<area>/.json for today and tomorrow, latest.json pointing at both, data/areas.json listing every area for the page's area switch, and a copy of site/static/ (the page itself).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Area(id: String, name: String, lat: Double, lon: Double, radiusKm: Double, beachLimit: Int, zone: ZoneId, tiles: String, tilesAttribution: String)

One entry of site/areas.json.

One entry of site/areas.json.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Areas

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Areas.type

Value members

Concrete methods

def build(areas: List[Area], out: Path, static: Path, water: Coordinates => Option[WaterQualityClient], now: OffsetDateTime, accessibility: Option[AccessibilityClient] = ...): List[Path] < Sync

Builds every area into out and returns the files written.

Builds every area into out and returns the files written.

Attributes

Concrete fields

val DefaultOut: Path
val DefaultStatic: Path