Closed wd closed 8 years ago
In the 'Resources' directory there should be a 'Documents' directory with the actual contents of the docs. If you installed the docset with the official dash, I'd say try to search where the docs are and they patch the paths somehow. I don't have a mac, so I can't try it :/
You can try to run helm-dash-install-docset and install Lua 5.3 and see if the 'documents' directory is there.
I've tried run helm-dash-install-docset to install Lua docs, it worked, there is a 'documents' directory.
I found there is a tarix.tgz in the resource directory in docsets installed from the official app, it seems the doc files are there.
tar ztvf tarix.tgz
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:07 Lua.docset/
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:05 Lua.docset/Contents/
-rw-r--r-- 0 bogdan staff 402 Jun 24 00:06 Lua.docset/Contents/Info.plist
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:07 Lua.docset/Contents/Resources/
-rw-r--r-- 0 bogdan staff 339968 Jun 24 00:06 Lua.docset/Contents/Resources/docSet.dsidx
-rw-r--r-- 0 bogdan staff 32768 Jun 24 00:06 Lua.docset/Contents/Resources/docSet.dsidx-shm
-rw-r--r-- 0 bogdan staff 181312 Jun 24 00:06 Lua.docset/Contents/Resources/docSet.dsidx-wal
-rw-r--r-- 0 bogdan staff 14574 Feb 12 05:06 Lua.docset/Contents/Resources/docSet.mom
-rw-r--r-- 0 bogdan staff 112 Jun 24 00:06 Lua.docset/Contents/Resources/docSet.toc
-rw-r--r-- 0 bogdan staff 68838 Jun 24 00:06 Lua.docset/Contents/Resources/docSet.tokencache
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/
-rw-r--r-- 0 bogdan staff 4243 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/backblue.gif
-rw-r--r-- 0 bogdan staff 828 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/fade.gif
-rw-r--r-- 0 bogdan staff 5241 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/index.html
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/images/
-rw-r--r-- 0 bogdan staff 4232 Oct 23 2001 Lua.docset/Contents/Resources/Documents/www.lua.org/images/logo.gif
-rw-r--r-- 0 bogdan staff 214 Feb 13 2011 Lua.docset/Contents/Resources/Documents/www.lua.org/images/search.png
-rw-r--r-- 0 bogdan staff 2432 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/lua.css
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/
drwxr-xr-x 0 bogdan staff 0 Jun 24 00:07 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/5.3/
-rw-r--r-- 0 bogdan staff 30248 Jun 7 19:09 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/5.3/contents.html
-rw-r--r-- 0 bogdan staff 30222 Jun 7 19:09 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/5.3/index.html
-rw-r--r-- 0 bogdan staff 353929 Jun 24 00:06 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/5.3/manual.html
-rw-r--r-- 0 bogdan staff 37998 Jun 24 00:07 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/5.3/manual.html.dashtoc
-rw-r--r-- 0 bogdan staff 320 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/index.css
-rw-r--r-- 0 bogdan staff 336 Jun 24 00:04 Lua.docset/Contents/Resources/Documents/www.lua.org/manual/manual.css
-rw-r--r-- 0 bogdan staff 259 Jun 24 00:07 Lua.docset/Contents/Resources/LICENSE
-rw-r--r-- 0 bogdan staff 174 Jun 24 00:06 Lua.docset/Contents/Resources/Nodes.xml
-rw-r--r-- 0 bogdan staff 88921 Jun 24 00:06 Lua.docset/Contents/Resources/Tokens.xml
It's better Dash and helm-dash can share installed docset.
I'm using dash 3.3.0 on Mac, and downloaded Lua_5.3 doc in dash. After call helm-dash in emacs, and input "string.", it will show a list include the keyword, but if I press C-j to try to view, will get this error:
My emacs settings
And files under "Resources" directory, there is "Documents" subdirectory here.