dash-docs-el / helm-dash

Browse Dash docsets inside emacs
510 stars 59 forks source link

Allow custom docset urls #6

Closed areina closed 9 years ago

areina commented 10 years ago

for example, for this:

https://raw.github.com/for-GET/know-your-http-well/master/docset/know-your-http-well.xml

pronobis commented 9 years ago

Yes, it would be very nice to be able to download docksets from: https://github.com/Kapeli/Dash-User-Contributions. Here's a nice discussion showing how to achieve that: https://github.com/zealdocs/zeal/issues/170

kidd commented 9 years ago

As a first approach, something like accepting a url should be enough, no? I'm not aware if there are many non-official docsets. I have seen very few.

pronobis commented 9 years ago

Well, there is quite a bunch: https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets

kidd commented 9 years ago

Oh yes, sorry I overlooked the first link. I'm working on a solution to this. hopefully it'll be up in a few days

kidd commented 9 years ago

@pronobis , there's a branch (currently still in development/testing) which implements that. if you have some time could you give it a shot?

branch is 'user-docsets', the command is `helm-dash-install-user-docset'. Bye!

davidshepherd7 commented 9 years ago

I just gave the 'user-docsets' branch a try and it seems to be working perfectly (I installed two docsets from Dash-User-Contributions, added them to a local docsets hook and used them a few times).

One question: does there need to a be a different user-level function for installing user contributed docsets? Personally I don't care where the docsets come from, although it should be possible to find out if necessary.

kidd commented 9 years ago

Great! The only reason is that the way to fetch the docsets is totally different. we could try to unify it somehow, but I guess for the first 'release' it will be a different function.

Thanks for testing!

areina commented 9 years ago

done in #78