Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    prj: &ProjectConfig,
    type_name: &str,
    status: &str,
    fm: &Frontmatter,
    body: &str,
    doc_ids: &HashSet<String>,
) -> Vec<String>
Expand description

Evaluate every applicable rule against one document. doc_ids is the set of ids a link may resolve to (the live docs), exactly as verify builds it.