dash-docs icon indicating copy to clipboard operation
dash-docs copied to clipboard

Docset path not correctly constructed

Open canatella opened this issue 4 years ago • 2 comments
trafficstars

It seems for some docset, like Python_3, the install path is <docsets-path>/Python 3 where the underscore has been replaced by a space, is this the case for all docsets ? I look at the json and XML but there's does not seem to be any mapping between the XML file name we use for the docset name and the extracted path. Maybe we should replace the _ from the docset name ?

canatella avatar Sep 24 '21 07:09 canatella

You're right, there is no pattern associated with the name of the docset and the file.

As we wanted to be compatible with the original Dash folder, we can't do a lot of magic. Maybe try a "fuzzy find" on the elisp side?

kidd avatar Sep 27 '21 16:09 kidd

Created a PR for a tentative fix.

canatella avatar Sep 28 '21 08:09 canatella