xtask/commands/
generate_docs.rs

1use xshell::{cmd, Error, Shell};
2
3/// Generates documentation like on the site extendr.github.io
4pub(crate) fn run(shell: &Shell) -> Result<(), Error> {
5    cmd!(
6        shell,
7        "cargo doc --workspace --no-deps --document-private-items --features full-functionality"
8    )
9    .run()?;
10
11    Ok(())
12}