4dir=$(mktemp -d dist-docs.XXXXXX)
5trap 'rm -r "$dir"' EXIT
7# assumes cabal 2.4 or later
8cabal v2-haddock --builddir="$dir" --haddock-for-hackage --enable-doc
10cabal upload -d $dir/*-docs.tar.gz --publish
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list