haskell/cabal — pull request #1182 by jwiegley (2013-01-14 04:39:33+00:00)
Title: Add extra-html-files, for installing extra html files

For example, you might have an images/ directory in your project, with
images that you refer to from Haddock with:

<>

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