Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple search paths #71

Open
lvh opened this issue Mar 11, 2015 · 4 comments
Open

Support multiple search paths #71

lvh opened this issue Mar 11, 2015 · 4 comments

Comments

@lvh
Copy link

lvh commented Mar 11, 2015

Right now helm-dash supports a single path for finding docsets, but Dash uses multiple internally:

~/L/A/Dash: ls                                                          16:42:01
Cheat Sheets      Java DocSets      Temp              library.dash
DocSets           License           Versioned DocSets
@kidd
Copy link
Member

kidd commented Mar 12, 2015

how does it recognize the nested directories? or it's just one level more deep?

so, it'd be '.docsets/ * /' or '.docsets/ * * / * ' ? the latter is much more difficult that the former

@areina
Copy link
Member

areina commented Jul 20, 2015

Hey @lvh , I'm a linux user and I have no idea how Dash manages its folders internally, sorry. It looks like you should point helm-dash-docsets-path to ~/L/A/Dash/DocSets but I can't confirm that. @tko @Kapeli could you help with this, please? Thanks!

@Kapeli
Copy link
Contributor

Kapeli commented Jul 21, 2015

Dash doesn't have a "docset folder". It installs docsets in different folders depending on the source and it works with them individually. Users can also add docsets from arbitrary locations/folder.

~/L/A/Dash/DocSets is the location where the main docset repo installs docsets. The main docset repo is the one with the docsets listed at http://kapeli.com/docset_links. These are pretty much the docsets generated and maintained by me.

However, Dash also has 9 other docset sources:

  1. Cheat Sheets. Installed in ~/L/A/Dash/DocSets/Cheat Sheets
  2. Cocoa Docsets. Installed in ~/L/A/Dash/DocSets/Cocoa DocSets
  3. Ruby Docsets. Installed in ~/L/A/Dash/DocSets/Ruby DocSets
  4. Java Docsets. Installed in ~/L/A/Dash/DocSets/Java DocSets
  5. Scala Docsets. Installed in ~/L/A/Dash/DocSets/Scala DocSets
  6. PHP Docsets. Installed in ~/L/A/Dash/DocSets/PHP DocSets
  7. Go Docsets. Installed in ~/L/A/Dash/DocSets/Go DocSets
  8. Stack Overflow. Installed in ~/L/A/Dash/DocSets/Stack Overflow
  9. User Contributed. Installed in ~/L/A/Dash/DocSets/User Contributed

Also, versioned docsets coming from all docset sources are installed in ~/L/A/Dash/Versioned DocSets.

Further docset sources will be added to Dash in the future. The best bet would be to */*/*.docset in ~/L/A/Dash

@areina
Copy link
Member

areina commented Jul 21, 2015

Thanks @Kapeli for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants