Enable --hyperlink-source for “cabal install”

前端 未结 3 2023
借酒劲吻你
借酒劲吻你 2020-12-31 00:47

The command cabal haddock has very useful --hyperlink-source option. I would like to have the source hyperlinked when building documentation with cabal in

3条回答
  •  佛祖请我去吃肉
    2020-12-31 01:30

    Ticket #517 is about passing haddock options via cabal, like if you have special needs like building a hoogle database or usa a different CSS

    Most users will be happy with standard haddock and hyperlinked sources though, which is possible with Cabal-1.8. Ticket #517 is if you have bigger needs.

    Simply calling cabal haddock --hyperlink-source should do the trick.

    If you want this as the default, you can edit ~/.cabal/config as you mentioned.

提交回复
热议问题