Skip to main content

configure

Function configure 

Source
pub fn configure(
    doc: &Path,
    base: &Path,
    scope: &ServedFolder,
    configs: BTreeMap<String, Config>,
) -> Result<()>
Expand description

Binds the extensions configs to the document at doc, each package loaded from its bundle under base, and prepares each; no configs unbinds it. A configuration already bound in scope is kept as it is.