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:
parent
c1717378b0
commit
d2a9562554
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ set -e
|
||||||
dir=$(mktemp -d dist-docs.XXXXXX)
|
dir=$(mktemp -d dist-docs.XXXXXX)
|
||||||
trap 'rm -r "$dir"' EXIT
|
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
|
cabal upload -d --publish $dir/*-docs.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue