tel / saltine

Cryptography that's easy to digest (NaCl/libsodium bindings)
https://github.com/tel/saltine
MIT License
61 stars 29 forks source link

Upload haddocks to Hackage #21

Closed joachifm closed 7 years ago

joachifm commented 9 years ago

Hackage cannot build the package, so manually uploading the haddocks is necessary. Not essential, I suppose, but nice nonetheless and lowers the barrier to entry, IMO.

tel commented 9 years ago

I've never done manual Hackage uploads. Is there a recommended process?

joachifm commented 9 years ago

I've never had occasion to do this either. Seems like something which should be a one-click operation, but it appears to be a bit more complicated than that. See this post by one of the Haddock maintainers. Neil Mitchel has a script to automate the process (one of many such scripts, it seems ...). I have no idea whether these posts still reflect current best practice.

Anyway, this is just something that would be nice to have and that I thought would be a quick fix, no need to expend too much time on it.

tel commented 9 years ago

Great! I'll take a look this weekend!

— Sent from Mailbox

On Tue, Mar 17, 2015 at 6:05 PM, joachifm notifications@github.com wrote:

I've never had occasion to do this either. Seems like something which should be a one-click operation, but it appears to be a bit more complicated than that. See this post by one of the Haddock maintainers. Neil Mitchel has [a script] to automate the process (one of many such scripts, it seems ...). I have no idea whether these posts still reflect current best practice. Anyway, this is just something that would be nice to have and that I thought would be a quick fix, no need to expend too much time on it.

[a script]: http://neilmitchell.blogspot.ca/2014/10/fixing-haddock-docs-on-hackage.html

Reply to this email directly or view it on GitHub: https://github.com/tel/saltine/issues/21#issuecomment-82616966

lpeterse commented 9 years ago

Using this script worked for me: https://gist.github.com/Fuuzetsu/8276421

hackagedocs saltine 0.0.0.3 username password

Taken from this blog post by Fūzetsu.

linearray commented 7 years ago

Incidentally this was resolved yesterday.