It's not clear to me how to customize the documents that
cabal haddock
generates. For example how do I include source links, or use a custom CSS file so that they apply in all cases?
In my ~/.cabal/config
I've tried
haddock
-- keep-temp-files: False
-- hoogle: False
-- html: False
-- html-location:
-- executables: False
-- tests: False
-- benchmarks: False
-- all:
-- internal: False
css: /Users/Rax/Projects/Haskell/Package/mystuff.css
hyperlink-source: True
-- hscolour-css:
-- contents-location:
but it's unclear to me what the scope if these settings is.
How do I customize the default document generation for all documents generated by Haddock: packages I build with cabal haddock
, for packages I install from Hackage with cabal install
, and even to packages I upload to Hackage with cabal sdist
?