You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stack cmd to produce docset(s) for https://kapeli.com/dash or http://zealdocs.org/ #491
I would like to be able to quickly generate docsets for zeal (or dash.app) for a project. Offline hotkey search of APIs is handy.
Currently I use the cabal based dash-haskell with some command line foo: cabal list --installed|grep -e '^\*'|sed 's/\* //g'|parallel --no-notice dash-haskell -o ~/.local/share/Zeal/Zeal/docsets
... but it doesn't yet work with cabal 1.22 and I'm lazily relying on my .zsh_history to remember how to type that.
It would be handy to have stack do this sort of thing for me.
If we can get this added to stackage-curator, then we can generate that output for all users with each build. What is the resulting artifact from the above command? Is it a single file, a directory, etc?
After that I'm having two docsets, one which contains the stockage docs for the packages I depend on only. (Hence I won't be able to lookup any functionality that would be in stockage, but is not yet a dependency in the cabal file.) And another one which contains my local project and dependencies.
I'd much prefer to get the full stackage docset from stackage and just install it.
I guess I could fake it, by creating a project that depended on all packages in stackage; but this seems like something that should be shared, instead of having everyone compile this for their own.
Activity
snoyberg commentedon Jul 2, 2015
If we can get this added to stackage-curator, then we can generate that output for all users with each build. What is the resulting artifact from the above command? Is it a single file, a directory, etc?
dysinger commentedon Jul 3, 2015
stackage-curator is probably the best place for this (not stack). the output is a directory.
snoyberg commentedon Jul 7, 2015
Since this will be part of stackage-curator instead, closing.
PierreR commentedon Nov 8, 2015
What about generating docsets for a local library ?
Any plan to have docsets for all stackage packages ? I am using Zeal but unfortunately Haskell docsets are quite incomplete (and out-of-dated).
Is
stackage-curatorable to generate docsets currently ?Updated As a note, the best bet is probably to use https://github.com/philopon/haddocset for now
angerman commentedon Apr 1, 2016
Bump. What happened to this? Is there a corresponding stockage-curator issue somewhere?
angerman commentedon Apr 1, 2016
We currently have two docset generators:
and (as @PierreR noted)
as well.
Where haddocset seems to be the slightly more active one. Where I asked about converting the whole documentation database to docset (Generate docset for all of a stackage lts? philopon/haddocset#37) which is out of the haddocset scope though.
mgsloan commentedon Apr 1, 2016
Considering that stack has haddocks support, it seems consistent to also have something for these tools, if there's demand.
We'd want to do it elsewhere than stackage-curator so that such lookup is available for private / local projects.
angerman commentedon Apr 3, 2016
You can actually have multiple docsets.
I would go with:
Here's basically the haddocset work flow (though incomplete):
After that I'm having two docsets, one which contains the stockage docs for the packages I depend on only. (Hence I won't be able to lookup any functionality that would be in stockage, but is not yet a dependency in the cabal file.) And another one which contains my local project and dependencies.
I'd much prefer to get the full stackage docset from stackage and just install it.
I guess I could fake it, by creating a project that depended on all packages in stackage; but this seems like something that should be shared, instead of having everyone compile this for their own.
PierreR commentedon Apr 21, 2016
When I try it (on nixos) I have got a puzzling error message:
but it works outside a project (the project is
nix enable)snoyberg commentedon Mar 20, 2019
Added to the Wishlist: https://github.com/commercialhaskell/stack/wiki/Wishlist