Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

kesselborn/rsdocs2docset

Repository files navigation

Note: this project is currently depcrecated as the used servo html parser changed too much to follow up :(

Build Status Build status

rsdocs2docset

This is a small tool to generate a docsets for Dash / Velocity / Zeal / LovelyDocs out of Rust docs.

installation

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

usage

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