The CLI can be installed via:
cargo install rsdocs-dashing
Given that you crate is named <MYCRATE>
:
- Generate the cargo documentation for the crate via
cargo doc
(add feature flags if desired) - Run
rsdocs-dashing target/doc/<MYCRATE> docset
- Run
dashing build --config docset/dashing.json --source docset/build
- Add the newly generated
<MYCRATE>.docset
to your docset viewer
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Pure Rust approach that does some more heavy lifting: rsdocs2docset. Python approach: rust-docset.