
Thank you, I also didn't know that a package release is enough to be added to
Stackage. I was also not aware of the cabal commands creating the documentation
for Hackage.
Nevertheless, I believe that we should improve on developer-friendliness. In the
end, we --- the developers and users --- create and maintain the libraries and
the ecosystem, and we depend on a healthy Haskell ecosystem.
Dominik
Ben Franksen
Am 27.04.20 um 23:43 schrieb Henning Thielemann:
So my next thought is: "Let's just put it on Stackage, because the best days of Hackage seem to be over...". However, I cannot do that, because my project needs to compile on Hackage in order to be put on Stackage...
You only need to _release_ your package on Hackage, it is not required that the Hackage server can build it. Stackage builds packages on its own.
If Hackage fails to build your documentation, you can create it yourself and upload it manually:
$ cabal haddock --for-hackage --hyperlink-source $ cabal upload --documentation --publish dist/pkg-0.1-docs.tar.gz
Thanks Henning, this was helpful for me as well. I just uploaded the docs for darcs-2.14.3 using your recipe.
Note however that for newer cabal-install versions the option names have changed to --haddock-for-hackage and --haddock-hyperlink-source.
Cheers Ben
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.