rsdocs-dashing

Tool to generate docsets (Dash/Zeal/etc.) for Rust crates

APACHE-2.0 License

Downloads
1.3K
Stars
17
Committers
1

Tool to generate a dashing.json for generating docsets for your crate/project

Installation

The CLI can be installed via:

cargo install rsdocs-dashing

Usage

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

License

Licensed under either of

at your option.

Alternatives

Pure Rust approach that does some more heavy lifting: rsdocs2docset. Python approach: rust-docset.