sunaku / dasht

💁 Search API docs offline, in terminal or browser
https://sunaku.github.io/dasht/man
823 stars 26 forks source link

Does not recognise Dash.app's directory structure #20

Closed 00dani closed 7 years ago

00dani commented 7 years ago

I'm already using Dash.app and have various docsets installed, so I figured I'd point dasht at my existing docsets with DASHT_DOCSETS_DIR. Unfortunately:

$ export DASHT_DOCSETS_DIR=~/Library/Application\ Support/Dash/DocSets
$ dasht-docsets # nothing is output
$ export DASHT_DOCSETS_DIR=~/Library/Application\ Support/Dash/DocSets/Ruby_2
$ dasht-docsets
Ruby

In other words, Dash.app puts the actual Something.docset directories a layer further down, inside language-specific subdirectories of the general DocSets directory. dasht does not anticipate this extra layer and does not understand it, hence it finds no docsets.

Could dasht be taught to look for docsets recursively from the configured docsets dir, to make it compatible with the organisation Dash.app uses?

sunaku commented 7 years ago

Thanks for your report. :+1: This is a duplicate of issue #15, so please follow the discussion there. :loop: