Note: this project is currently depcrecated as the used servo html parser changed too much to follow up :(
This is a small tool to generate a docsets for Dash / Velocity / Zeal / LovelyDocs out of Rust docs.
Simply call
cargo install rsdocs2docset
or download the latest version from the release page or clone this repo, make sure you have rust installed and execute
cargo install
given your docs live in target/doc
, execute
rsdocs2docset --rsdocs target/doc --name mycrate
and rsdocs2docset
will create a folder called mycrate.docset
... or, given you have rustup and a nighlty rust version installed,
use the included ./create-rs-docset script to create docs for a specific package that can be found
using cargo:
./create-rs-docset html5ever
This can take long the first time, but it caches build artifacts in ~/.rs-docsets
, so it should get faster over time.
This is a stepping stone for now