3# Run this script in the top-level of your package directory
4# (where the .cabal file is) to compile documentation and
8# cabal-install-1.24 (for --for-hackage)
9# haddock 2.17 (for the hyperlinked source)
13dir=$(mktemp -d dist-docs.XXXXXX)
14trap 'rm -r "$dir"' EXIT
16cabal configure --builddir="$dir"
17cabal haddock --builddir="$dir" --for-hackage --haddock-option=--hyperlinked-source
18cabal upload -d $dir/*-docs.tar.gz
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