Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit 81a087b

Browse files
committed
Add html flag for haddock invocation
Seems we are no longer getting the html docs built. Maybe something is different in either haddock, or cabal's invocation of it, as it used to work with no flag (supposedly it is the haddock default?) but now appears we need it. * hptool/src/Target.hs * add "--html" to haddock invocation
1 parent bbaefe3 commit 81a087b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hptool/src/Target.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ buildAction buildDir hpRel bc = do
103103
cabal "haddock" $
104104
[ "--hyperlink-source"
105105
, "--hoogle"
106+
, "--html"
106107
, "--with-haddock=" ++ haddockExe `relativeToDir` buildDir
107108
]
108109
++ map (\s -> "--haddock-option=" ++ s) (cReadArgs ++ pReadArgs)

0 commit comments

Comments
 (0)