Skip to content
  • John Wiegley's avatar
    Add extra-html-files, for installing extra html files · 49a2be96
    John Wiegley authored
    For example, you might have an images/ directory in your project, with
    images that you refer to from Haddock with:
    
        <<images/foo.png>>
    
    Then in your Cabal file you would include:
    
        extra-html-files: images/*.png
    
    And these would both be packaged by sdist, and "cabal haddock" will
    install them in:
    
        ~/.cabal/share/doc/PROJECT/html/images/*.png
    
    Fixes #1167
    49a2be96