Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Build pipeline: plugin orchestration and site compilation.

Structs§

BuildError
Serialisable build error for browser overlay delivery.
RunOptions
CLI-driven options that don’t live in SsgConfig itself.

Functions§

build_pipeline
Builds a fully-populated plugin manager and plugin context for a build.
clear_error_message
Returns the JSON message to clear the error overlay.
compile_site
Compiles the static site from source directories.
compile_site_with_base_url
Compiles the static site, deriving a permalink: for every staged markdown page that declares neither permalink nor url when base_url is provided (spec A2/B1, plan §2 item 1.2, issue #586).
compile_site_with_locales
As compile_site_with_base_url, plus the configured locales so the content stager can derive locale_path / locale_url per page.
depgraph_cache_root
Resolves the on-disk cache root for the persisted dependency graph.
execute_build_pipeline
Runs the build half of the pipeline: before_compile → compile → after_compile. Does not start the dev server.
execute_build_pipeline_with
Variant of execute_build_pipeline that accepts the --incremental flag.
register_default_plugins
Registers the default plugin pipeline.
register_isr_plugins
Appends ISR-specific plugins (currently just crate::isr_manifest::IsrManifestPlugin).
resolve_build_and_site_dirs
Resolves distinct build and site directories for compilation.