xtask/commands/
generate_docs.rs

1
2
3
4
5
6
7
8
9
10
11
12
use xshell::{cmd, Error, Shell};

/// Generates documentation like on the site extendr.github.io
pub(crate) fn run(shell: &Shell) -> Result<(), Error> {
    cmd!(
        shell,
        "cargo doc --workspace --no-deps --document-private-items --features full-functionality"
    )
    .run()?;

    Ok(())
}