Volt-powered static site generation for Elixir applications.
Astral is intentionally separate from Volt. Volt owns generic asset building, dev-server, and HMR primitives; Astral will own site concepts such as pages, routes, layouts, content, and static output.
Summary
Functions
Return the browser path for a Volt-managed source asset.
Build a static Astral site.
Start a supervised Astral development server.
Return the package version.
Functions
@spec asset_path(Astral.Site.t() | Astral.Config.t(), String.t()) :: String.t()
Return the browser path for a Volt-managed source asset.
@spec build(keyword() | Astral.Config.t()) :: {:ok, Astral.BuildResult.t()} | {:error, term()}
Build a static Astral site.
@spec dev(keyword()) :: Supervisor.on_start()
Start a supervised Astral development server.
@spec version() :: String.t()
Return the package version.