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

better interoperability with Zeal and Dash #52

Open
sunaku opened this issue Jun 19, 2020 · 3 comments
Open

better interoperability with Zeal and Dash #52

sunaku opened this issue Jun 19, 2020 · 3 comments

Comments

@sunaku
Copy link
Owner

sunaku commented Jun 19, 2020

Feature: dasht should be able to re-use docsets from existing Zeal and Dash installations.

@Seirdy
Copy link

Seirdy commented Jul 11, 2020

Setting $DASHT_DOCSETS_DIR to the directory containing Zeal docsets seems to do the trick.

@smackesey
Copy link
Contributor

smackesey commented Oct 25, 2020

Hey, nice little app you've got here.

I'm open to writing a PR that makes this seamlessly interoperable with Dash (I can't speak to Zeal). So far as I can tell from skimming over the other issues, the current disconnect stems from the fact that Dash.app stores it's docsets in separate subdirectories while dasht places them all in one directory. For instance, in Dash.app, the NodeJS docset is stored in $DOC_ROOT/NodeJS/NodeJS.docset, while in dasht it is just inside $DOC_ROOT/NodeJS.docset.

One solution to this is to simply change the storage structure of dasht to match that of Dash. This would allow one to simply set the existing Dash directory as the docset storage root. This may also be a better long term solution for handling things like versioned docsets (stored in a common subdirectory).

Is this a solution you are open to? There doesn't look to be a great deal of code to change.

@sunaku
Copy link
Owner Author

sunaku commented Oct 25, 2020

Hi @smackesey, sure that would be great! 👍 I don't have direct experience with Dash.app since I don't use macOS. 🐧 Cheers.

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

No branches or pull requests

3 participants