Omit --enable-doc in the cabal haddock invocation.

tools/build-and-upload-api-docs.sh.  I'm not sure what
this was supposed to do but it seems undocumented.
This commit is contained in:
John MacFarlane 2022-01-17 21:00:15 -08:00
parent c1717378b0
commit d2a9562554

View file

@ -4,5 +4,5 @@ set -e
dir=$(mktemp -d dist-docs.XXXXXX)
trap 'rm -r "$dir"' EXIT
cabal v2-haddock --builddir="$dir" --haddock-for-hackage --enable-doc
cabal v2-haddock --builddir="$dir" --haddock-for-hackage
cabal upload -d --publish $dir/*-docs.tar.gz