pub fn sparse_checkout_docs( sha: &str, repo_url: &str, clone_dir: &Path, ) -> Result<()>
Sparse-checkout only docs/generated from a repo at the given commit.
docs/generated