Skip to main content

build_schema_ctx

Function build_schema_ctx 

Source
pub fn build_schema_ctx(
    path: &Path,
    root: &Path,
    compiled: &CompileOutput,
    cfg: &EngineConfig,
) -> Ctx
Expand description

dmc_schema::Ctx from a compiled doc. What schema transform/refine predicates see (HTML, MDX body, TOC, plain text, path, …).