mdbook-to-example

Crates.iomdbook-to-example
lib.rsmdbook-to-example
version0.1.0
sourcesrc
created_at2022-06-21 20:47:54.646467
updated_at2022-06-21 20:47:54.646467
descriptionTurns an mdbook book into a Rust example
homepage
repository
max_upload_size
id610527
size9,432
Simon Hyll (simonhyll)

documentation

README

mdbook-to-example

Turns an mdbook book into a Rust example that can be used to create documentation with cargo doc

Getting started

// build.rs
fn main() -> Result<(), std::io::Error> {
    let _ = mdbook_to_example::Builder::new()
        .set_name("package-book")
        .run();
    Ok(())
}
Commit count: 0

cargo fmt