Skip to main content

compile_page

Function compile_page 

Source
fn compile_page(
    artifact_root: &Path,
    feature_id: &str,
    page_id: &str,
    page: &Value,
    queries: &Map<String, Value>,
) -> Result<(Value, Value), FeatureCompileError>
Expand description

Compiles one page declaration into a route and generated page specification.