zealdocs / zeal

Offline documentation browser inspired by Dash
https://zealdocs.org
GNU General Public License v3.0
11.37k stars 778 forks source link

docs.rs integration #1457

Open theli-ua opened 1 year ago

theli-ua commented 1 year ago

Now that docs.rs has downloadable docs ( https://github.com/rust-lang/docs.rs/issues/174 ) It would be great to support those as docsets ( which is also a wip feature of dash according to comments on that issue )

hhartzer commented 6 months ago

Can this be closed out now? The upstream issue is closed. I see a Rust docset available.

theli-ua commented 6 months ago

As far as I'm aware no docs.rs integration is available in Zeal. "Rust" docset is separate from this

hhartzer commented 6 months ago

Ah, gotcha. Thanks for explaining!

syphar commented 6 months ago

To give a little more context here: Dash released the new feature for rust crate docsets in dash 7, and it works seamlessly.

The offline docs download "just" gives you the build output we already have. There is some preprocessing needed to convert this into a docset, I tried to add some explanation on the site itself: https://docs.rs/about/download .

I assume the crate-search itself in Dash where you select the crate & version itself is using the crates.io search API.

syphar commented 6 months ago

I'm happy to answer any questions about this, I would love to see offline docs.rs docs in zeal too.

nathany commented 1 week ago

Coming from Dash, support for docs.rs is the one thing I miss.