Skip to main content

build_doc_diff_report

Function build_doc_diff_report 

Source
pub fn build_doc_diff_report(
    repo: &Repository,
    doc_rel_path: &str,
    limit: usize,
) -> Result<Option<DocDiffReport>, DiffError>
Expand description

Build the build-history report for one doc (doc_rel_path is relative to the repo root, e.g. "docs/guide/intro.md"). Returns Ok(None) when the doc has no commit history (graceful no-op).