Try harder to find dash installed docsets#87
Merged
areina merged 1 commit intodash-docs-el:masterfrom Jul 20, 2015
Merged
Conversation
The paths where dash itself installs the docsets is somewhat unpredictable (dash-docs-el#84) and can not be reliably determined from the docset name/id alone. For example: * Bootstrap_2 => Bootstrap_2/Bootstrap.docset * Bootstrap_3 => Bootstrap_3/Bootstrap 3.docset * Emacs_Lisp => Emacs_Lisp/Emacs Lisp.docset Try harder to find them simply by looking inside the directory and accepting the first *.docset directory present. The list of paths searched is now: * {name/id}.docset -- helm-dash installation, probably * {name/id}/{name/id}.docset -- dash installation, e.g. Haskell * {name/id}/*.docset -- dash installation, e.g. Bootstrap_2
Member
|
Merging, thank you @tko !! |
areina
added a commit
that referenced
this pull request
Jul 20, 2015
Try harder to find dash installed docsets
|
Downloaded the latest helm-dash today and having a problem like this with the Python_3 docset. All other docsets that I use appear in searches but nothing comes up for the Python_3 docset. I don't know yet if it is the underscore or the fact that many of its html and toc files are in subdirectories. Does helm-dash handle docsets with many subdirectories of HTML files? |
Member
|
My python3 docset looks like |
|
Yes, the path is found and the docset is named Python_3. It was downloaded
by the Windows Zeal docset application. All the other docsets in the same
directory show search results in helm-dash as far as I can tell, except
this one.
If you want to see the output of some function call, just let me know.
I tried to have helm-dash download its Python 3 docset but it just hung and
never got to the downloading.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The paths where dash itself installs the docsets is somewhat
unpredictable (#84) and can not be reliably determined from the docset
name/id alone. For example:
Try harder to find them simply by looking inside the directory and
accepting the first *.docset directory present. The list of paths
searched is now: