zealdocs / zeal

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

Show Dash user contrib docsets in Zeal #170

Open jboadas opened 10 years ago

jboadas commented 10 years ago

Just trying to see the user contrib docsets but can't see it on the list

marcopompili commented 7 years ago

I got a problem with the ClojureScript docset, I don't know why but it's the only docset that doesn't work. None of the links work, if I click on a function name in the search results, zeal will not display the contents.

Permissions seem fine, the html files are weirdly generated like: write-all-eb3cea2d014abb6fa8d88309f08e3e08.html

I tried to change some files to something like: write-all.html but without success. There's some way to debug this problem ? Thank you

p.s. I tried to use the same docset on helm-dash and I got no problem there.

SOLVED: I found the problem, in the docSet.dsidx file the path column was starting with: /

like: /news/0.0-927.html Changing the path from absolute to relative like this: news/0.0-927.html fixed the problem, I used this query on sqliteman for fixing the whole table:

UPDATE searchIndex set path = substr(path,2)

onorua commented 5 years ago

In case you came here from web search. I've tried suggested by @Kapeli workaround, it downloads docset, but then fails with: Invalid docset feed!. e.g. http://sanfrancisco.kapeli.com/feeds/zzz/user_contributed/build/Vault/Vault.tgz

But the following app: http://zealusercontributions.herokuapp.com/ is working fine.

rixx commented 5 years ago

But the following app: http://zealusercontributions.herokuapp.com/ is working fine.

It seems to be unavailable now. https://zealusercontributions.now.sh/ is a working mirror.

filips123 commented 5 years ago

Is there any update? Is it possible to add support to download user contrib docsets directly from Zeal?

jmerle commented 4 years ago

To make it just a little easier to add the user contributed docsets to Zeal with the icons included I created zeal-user-contrib, which automates the steps you'd have to take when adding them manually via zealusercontributions.herokuapp.com.

It automatically detects Zeal's docsets directory, downloads the docset, extracts it, saves the icons and stores the necessary metadata in the correct location. I have tested it on both Linux and Windows, and it will also find the docsets directory when you've set the it to a custom path in the settings.

hashhar commented 4 years ago

I coincidentally saw this issue today and thought somebody might find https://github.com/hashhar/dash-contrib-docset-feeds repo I created a long time ago useful.

It is automated to be updated once every 7 days. It doesn't download the files, just creates an index in the repo itself.

crmne commented 4 years ago

Hi everyone, while we wait for 0.8.0 to have this feature, I made a script that has a simple UI to download and install user contrib docsets: https://gist.github.com/crmne/3fe84c05013fa87d74a8

Mek101 commented 3 years ago

Will they be implemented?

OuttaSpaceTime commented 3 years ago

@Kapeli any updates on the ruby gems by now? Would be nice if you could open source it. Has been a while now :)

I found this script but I am not sure on how to use https://gist.github.com/toch/77ce4210e962cb73782d003a89f17dcd