Local docs.rs-like system

  1. I don't need docs.rs in particular, something similar to it would be fine.

  2. I have a cargo workspace with 20-30 crates in the workspace.

  3. Currently, "cargo build" runs fine.

  4. Is there some cargo tool that I can install, which when run, will parse all the crates in the workspace, generate similar styled documentation, and fire up a webserver?

Hi @zeroexcuses,

Using cargo doc --open will generate local documentation under the target/doc directory.

1 Like

cargo doc --open is precisely what I needed. Thanks!