pub fn configure(
doc: &Path,
base: &Path,
served: &ServedFolder,
config: Option<&Value>,
) -> Result<()>Expand description
Enables the code reference of the site whose document file is doc,
in the folder base, from its config — or disables it when config
is None. Loading the same configuration again keeps the index.