Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 303 Bytes

readme.md

File metadata and controls

9 lines (8 loc) · 303 Bytes

When uploading to Hackage, it seems that one needs to upload the documentation manually:

dir=$(mktemp -d dist-docs.XXXXXX)
cabal configure --builddir="$dir"
cabal haddock --builddir="$dir" --haddock-for-hackage --haddock-option=--hyperlinked-source
cabal upload --publish -d $dir/*-docs.tar.gz