aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml/DocMarkup.hs
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-03-08 23:58:38 +0100
committerNiklas Haas <git@nand.wakku.to>2014-03-09 07:53:46 +0100
commit9aa5a2a420788e39806c5fe85845002181f3b945 (patch)
tree426a40256cd57fb90f18ef05cf004495dd5b5539 /src/Haddock/Backends/Xhtml/DocMarkup.hs
parent843c42c4179526a2ad3526e4c7d38cbf4d50001d (diff)
Use optLast instead of listToMaybe for sourceUrls/wikiUrls
This lets you override them using eg. cabal haddock --haddock-options, which can come in handy if you want to use a different layout or URL for your source code links than cabal-install generates.
Diffstat (limited to 'src/Haddock/Backends/Xhtml/DocMarkup.hs')
0 files changed, 0 insertions, 0 deletions