-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathgen-docs
More file actions
executable file
·16 lines (15 loc) · 795 Bytes
/
gen-docs
File metadata and controls
executable file
·16 lines (15 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cabal haddock --haddock-html --haddock-quickjump --haddock-hyperlink-source all --with-haddock=/home/matt/.cabal/bin/haddock --verbose
rm -rf hdocs/
mkdir -p hdocs
find dist-newstyle -type d -name '*html' -exec cp -r {} hdocs \;
mv hdocs/html/* hdocs/
~/.cabal/bin/haddock \
-o hdocs \
--optghc="-package-db /home/matt/ghc-debug/dist-newstyle/packagedb/ghc-9.1.20201218" \
--quickjump \
--gen-index \
--gen-contents \
--read-interface=ghc-debug-client,hdocs/ghc-debug-client/ghc-debug-client.haddock \
--read-interface=ghc-debug-common,hdocs/ghc-debug-common/ghc-debug-common.haddock \
--read-interface=ghc-debug-convention,hdocs/ghc-debug-convention/ghc-debug-convention.haddock \
--read-interface=ghc-debug-stub,hdocs/ghc-debug-stub/ghc-debug-stub.haddock